From: Steve Murphy Date: Wed, 28 Jan 2009 22:52:06 +0000 (+0000) Subject: A further correction: cast the sizeof to an int. X-Git-Tag: 1.6.2.0-beta1~337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f029e410ecb61a92bd77362d19e885e8f655191b;p=thirdparty%2Fasterisk.git A further correction: cast the sizeof to an int. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172132 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index a74de7c394..7fab5ba0bd 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -5493,7 +5493,7 @@ static int misdn_facility_exec(struct ast_channel *chan, void *data) } if (strlen(args.arg[0]) >= sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)) { - ast_log(LOG_WARNING, "Facility: Number argument too long (up to %d digits are allowed). Ignoring.\n", sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)); + ast_log(LOG_WARNING, "Facility: Number argument too long (up to %d digits are allowed). Ignoring.\n", (int)sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)); return 0; } ch->bc->fac_out.Function = Fac_CD;