build in dev mode
authorRussell Bryant <russell@russellbryant.com>
Fri, 16 Jan 2009 16:18:41 +0000 (16:18 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 16 Jan 2009 16:18:41 +0000 (16:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168759 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index a74de7c..d3c4651 100644 (file)
@@ -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 %ld digits are allowed). Ignoring.\n", sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber));
                        return 0;
                }
                ch->bc->fac_out.Function = Fac_CD;