[asterisk-commits] russell: branch 1.4 r75447 - /branches/1.4/main/rtp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 17 15:51:25 CDT 2007
Author: russell
Date: Tue Jul 17 15:51:25 2007
New Revision: 75447
URL: http://svn.digium.com/view/asterisk?view=rev&rev=75447
Log:
cast arguments to ast_log so that it builds without warnings for me
Modified:
branches/1.4/main/rtp.c
Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=75447&r1=75446&r2=75447
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Tue Jul 17 15:51:25 2007
@@ -452,7 +452,7 @@
attr = (struct stun_attr *)data;
if ((ntohs(attr->len) + sizeof(struct stun_attr)) > len) {
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;
}
if (stun_process_attr(&st, attr)) {
More information about the asterisk-commits
mailing list