Merged revisions 77154 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 25 Jul 2007 21:53:35 +0000 (21:53 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 25 Jul 2007 21:53:35 +0000 (21:53 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77154 | mmichelson | 2007-07-25 16:52:47 -0500 (Wed, 25 Jul 2007) | 3 lines

chan->emulate_dtmf_duration is an unsigned int, not a signed int, so use %u instead of %d in the format string

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77155 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 546fe6d..453b287 100644 (file)
@@ -2301,7 +2301,7 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
                                                        chan->emulate_dtmf_duration = AST_MIN_DTMF_DURATION;
                                        } else
                                                chan->emulate_dtmf_duration = AST_DEFAULT_EMULATE_DTMF_DURATION;
-                                       ast_log(LOG_DTMF, "DTMF begin emulation of '%c' with duration %d queued on %s\n", f->subclass, chan->emulate_dtmf_duration, chan->name);
+                                       ast_log(LOG_DTMF, "DTMF begin emulation of '%c' with duration %u queued on %s\n", f->subclass, chan->emulate_dtmf_duration, chan->name);
                                }
                        } else {
                                struct timeval now = ast_tvnow();