[asterisk-commits] mmichelson: branch group/CCSS r239478 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 12 11:17:08 CST 2010


Author: mmichelson
Date: Tue Jan 12 11:16:57 2010
New Revision: 239478

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=239478
Log:
Add a cast so there are no complaints on certain systems.


Modified:
    team/group/CCSS/channels/chan_sip.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=239478&r1=239477&r2=239478
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Tue Jan 12 11:16:57 2010
@@ -23895,7 +23895,7 @@
 	}
 
 	if (content_length > sizeof(pidf_body)) {
-		ast_log(LOG_WARNING, "Content length of PIDF document truncated to %d bytes\n", sizeof(pidf_body));
+		ast_log(LOG_WARNING, "Content length of PIDF document truncated to %d bytes\n", (int) sizeof(pidf_body));
 		content_length = sizeof(pidf_body);
 	}
 




More information about the asterisk-commits mailing list