From ccb0f924af801b3a28449048098c5af7b2af5a67 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 25 Jul 2007 21:52:47 +0000 Subject: [PATCH] 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/branches/1.4@77154 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index 66ae848cb8..735c824751 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2369,7 +2369,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();