[asterisk-commits] file: branch 1.4 r164204 - /branches/1.4/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 15 09:05:09 CST 2008


Author: file
Date: Mon Dec 15 09:05:08 2008
New Revision: 164204

URL: http://svn.digium.com/view/asterisk?view=rev&rev=164204
Log:
Can we try not to assign an unsigned int to -1?
(closes issue #14074)
Reported by: wetwired

Modified:
    branches/1.4/apps/app_dial.c

Modified: branches/1.4/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=164204&r1=164203&r2=164204
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Mon Dec 15 09:05:08 2008
@@ -876,7 +876,7 @@
 	char numsubst[256];
 	char cidname[AST_MAX_EXTENSION] = "";
 	int privdb_val = 0;
-	unsigned int calldurationlimit = -1;
+	int calldurationlimit = -1;
 	long timelimit = 0;
 	long play_warning = 0;
 	long warning_freq = 0;




More information about the asterisk-commits mailing list