diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-15 15:05:08 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-15 15:05:08 +0000 |
commit | b9f2b5a4aa961a7389a42e56b74dae5f293bb2dd (patch) | |
tree | 6dece7d1dc04d33dcf0b5516492082d60f23386e /apps/app_dial.c | |
parent | 3ae685c55ad947a8abaa7ec0cc3fc8b4294867d4 (diff) |
Can we try not to assign an unsigned int to -1?
(closes issue #14074)
Reported by: wetwired
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@164204 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 7e3f0ac63..41a6f7285 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -876,7 +876,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags 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; |