[asterisk-commits] kmoore: trunk r419110 - in /trunk: channels/ tests/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 21 12:01:12 CDT 2014


Author: kmoore
Date: Mon Jul 21 12:01:05 2014
New Revision: 419110

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=419110
Log:
Fix build in dev-mode

Modified:
    trunk/channels/chan_skinny.c
    trunk/tests/test_core_format.c

Modified: trunk/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=419110&r1=419109&r2=419110
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Mon Jul 21 12:01:05 2014
@@ -2660,7 +2660,7 @@
 	req->data.openreceivechannel.echo = htolel(0);
 	req->data.openreceivechannel.bitrate = htolel(0);
 
-	SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting OPEN_RECEIVE_CHANNEL_MESSAGE to %s, confid %u, partyid %u, ms %d, fmt %d, echo %d, brate %d\n",
+	SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting OPEN_RECEIVE_CHANNEL_MESSAGE to %s, confid %u, partyid %u, ms %u, fmt %d, echo %d, brate %d\n",
 		d->name, sub->callid, sub->callid, framing, codec_ast2skinny(tmpfmt), 0, 0);
 
 	ao2_ref(tmpfmt, -1);
@@ -3058,7 +3058,7 @@
 		req->data.startmedia_ip6.qualifier.bitRate = htolel(0);
 	}
 
-	SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting START_MEDIA_TRANSMISSION_MESSAGE to %s, callid %u, passthrupartyid %u, ip %s:%d, ms %d, fmt %d, prec 127\n",
+	SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting START_MEDIA_TRANSMISSION_MESSAGE to %s, callid %u, passthrupartyid %u, ip %s:%d, ms %u, fmt %d, prec 127\n",
 		d->name, sub->callid, sub->callid, ast_inet_ntoa(dest.sin_addr), dest.sin_port, framing, codec_ast2skinny(format));
 	transmit_response(d, req);
 }
@@ -3667,7 +3667,7 @@
 		tmpfmt = ast_format_cap_get_format(l->cap, 0);
 		framing = ast_format_cap_get_format_framing(l->cap, tmpfmt);
 
-		SKINNY_DEBUG(DEBUG_AUDIO, 4, "Setting payloadType to '%s' (%d ms)\n", ast_format_get_name(tmpfmt), framing);
+		SKINNY_DEBUG(DEBUG_AUDIO, 4, "Setting payloadType to '%s' (%u ms)\n", ast_format_get_name(tmpfmt), framing);
 
 		if (!(l->directmedia) || (l->nat)){
 			ast_rtp_instance_get_local_address(rtp, &us_tmp);
@@ -6909,7 +6909,7 @@
 	tmpfmt = ast_format_cap_get_format(l->cap, 0);
 	framing = ast_format_cap_get_format_framing(l->cap, tmpfmt);
 
-	SKINNY_DEBUG(DEBUG_PACKET, 4, "Setting payloadType to '%s' (%d ms)\n", ast_format_get_name(tmpfmt), framing);
+	SKINNY_DEBUG(DEBUG_PACKET, 4, "Setting payloadType to '%s' (%u ms)\n", ast_format_get_name(tmpfmt), framing);
 
 	transmit_startmediatransmission(d, sub, us, tmpfmt, framing);
 

Modified: trunk/tests/test_core_format.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_core_format.c?view=diff&rev=419110&r1=419109&r2=419110
==============================================================================
--- trunk/tests/test_core_format.c (original)
+++ trunk/tests/test_core_format.c Mon Jul 21 12:01:05 2014
@@ -232,7 +232,7 @@
 		return;
 	}
 
-	ast_str_append(str, 0, "a=fmtp:%d one=%d;two=%d\r\n", payload, pvt->field_one, pvt->field_two);
+	ast_str_append(str, 0, "a=fmtp:%u one=%d;two=%d\r\n", payload, pvt->field_one, pvt->field_two);
 
 	++test_callbacks_called.format_generate_sdp_fmtp;
 }




More information about the asterisk-commits mailing list