summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2009-01-28 22:52:06 +0000
committerSteve Murphy <murf@digium.com>2009-01-28 22:52:06 +0000
commitf029e410ecb61a92bd77362d19e885e8f655191b (patch)
treec365c7ea689d7ae37096264a5faad6a7d32c76e4 /channels
parent47db0f64f2aa640a4101dd32f151d586933b30ee (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_misdn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index a74de7c39..7fab5ba0b 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;