summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-11-10 19:42:15 +0000
committerJoshua Colp <jcolp@digium.com>2006-11-10 19:42:15 +0000
commit352158671203ecb94738230f7a3a8a720180dd92 (patch)
treeb15729751d2fe9af734725553de354af4038d175 /pbx
parentc6e8dbf189d73145b7e768fd015485506a569a5b (diff)
Hello compiler working, goodbye compiler warning. (fix compiler warning introduced from pbx_dundi optimizations)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index b8ebf1b13..5978753fb 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -1991,7 +1991,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
return 1;
}
if (res < sizeof(struct dundi_hdr)) {
- ast_log(LOG_WARNING, "midget packet received (%d of %d min)\n", res, sizeof(struct dundi_hdr));
+ ast_log(LOG_WARNING, "midget packet received (%d of %ld min)\n", res, sizeof(struct dundi_hdr));
return 1;
}
buf[res] = '\0';