mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
cast arguments to ast_log so that it builds without warnings for me
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -452,7 +452,7 @@ static int stun_handle_packet(int s, struct sockaddr_in *src, unsigned char *dat
|
|||||||
attr = (struct stun_attr *)data;
|
attr = (struct stun_attr *)data;
|
||||||
if ((ntohs(attr->len) + sizeof(struct stun_attr)) > len) {
|
if ((ntohs(attr->len) + sizeof(struct stun_attr)) > len) {
|
||||||
if (option_debug)
|
if (option_debug)
|
||||||
ast_log(LOG_DEBUG, "Inconsistent Attribute (length %d exceeds remaining msg len %zd)\n", (ntohs(attr->len) + sizeof(struct stun_attr)), len);
|
ast_log(LOG_DEBUG, "Inconsistent Attribute (length %d exceeds remaining msg len %d)\n", (int) (ntohs(attr->len) + sizeof(struct stun_attr)), (int) len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (stun_process_attr(&st, attr)) {
|
if (stun_process_attr(&st, attr)) {
|
||||||
|
Reference in New Issue
Block a user