[asterisk-commits] tilghman: trunk r227615 - in /trunk/channels: chan_iax2.c chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 4 10:17:22 CST 2009


Author: tilghman
Date: Wed Nov  4 10:17:18 2009
New Revision: 227615

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227615
Log:
Two other trunk build fixes (reported by seanbright on #asterisk-dev)

Modified:
    trunk/channels/chan_iax2.c
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=227615&r1=227614&r2=227615
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Nov  4 10:17:18 2009
@@ -1517,7 +1517,7 @@
 	for (x = 0; x < IAX_MAX_SHIFT; x++) {
 		if (subclass & (1LL << x)) {
 			if (power > -1) {
-				ast_log(LOG_WARNING, "Can't compress subclass %Ld\n", subclass);
+				ast_log(LOG_WARNING, "Can't compress subclass %Ld\n", (long long) subclass);
 				return 0;
 			} else
 				power = x;

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=227615&r1=227614&r2=227615
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Nov  4 10:17:18 2009
@@ -10194,7 +10194,7 @@
 
 
 	if (debug)
-		ast_verbose("Adding codec 0x%Lx (%s) to SDP\n", codec, ast_getformatname(codec));
+		ast_verbose("Adding codec 0x%Lx (%s) to SDP\n", (long long) codec, ast_getformatname(codec));
 	if ((rtp_code = ast_rtp_codecs_payload_code(ast_rtp_instance_get_codecs(p->rtp), 1, codec)) == -1)
 		return;
 




More information about the asterisk-commits mailing list