Fine, take this.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp 2006-11-10 20:05:31 +00:00
parent 0282cc1a4d
commit eceb5c60d7
1 changed files with 1 additions and 1 deletions

View File

@ -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 %ld min)\n", res, sizeof(struct dundi_hdr));
ast_log(LOG_WARNING, "midget packet received (%d of %d min)\n", res, (int)sizeof(struct dundi_hdr));
return 1;
}
buf[res] = '\0';