]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
%lu -> SWITCH_SIZE_T_FMT
authorRupa Schomaker <rupa@rupa.com>
Tue, 20 Apr 2010 17:11:07 +0000 (12:11 -0500)
committerRupa Schomaker <rupa@rupa.com>
Tue, 20 Apr 2010 17:11:07 +0000 (12:11 -0500)
src/switch_rtp.c

index 101c721484054ab081feef1e68e16ad089331b65..0cacc3bded51d455a1ee944548d3e24d699253f0 100644 (file)
@@ -2086,7 +2086,7 @@ static switch_status_t read_rtcp_packet(switch_rtp_t *rtp_session, switch_size_t
 
 
        if (*bytes) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10,"Received an RTCP packet of length %lu bytes\n", *bytes);
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10,"Received an RTCP packet of length %" SWITCH_SIZE_T_FMT " bytes\n", *bytes);
                if (rtp_session->rtcp_recv_msg.header.version == 2) {
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10,"RTCP packet type is %d\n", rtp_session->rtcp_recv_msg.header.type);
                        if (rtp_session->rtcp_recv_msg.header.type == 200) {