]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7499: fix build error on 32bit platforms
authorMichael Jerris <mike@jerris.com>
Mon, 1 Jun 2015 19:28:33 +0000 (15:28 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 1 Jun 2015 19:28:33 +0000 (15:28 -0400)
src/switch_rtp.c

index 07a407d6e8a442c319dff4e8f9503b7b167d94ce..3905e57cb6a532c6548de82baa4e1271488bb98f 100644 (file)
@@ -5705,7 +5705,7 @@ static switch_status_t process_rtcp_packet(switch_rtp_t *rtp_session, switch_siz
 
                if (msg->header.version != 2 || !(msg->header.type > 199 && msg->header.type < 208)) {
                        switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_WARNING, 
-                                                         "INVALID RTCP PACKET TYPE %d VER %d LEN %ld\n", msg->header.type, 
+                                                         "INVALID RTCP PACKET TYPE %d VER %d LEN %" SWITCH_SIZE_T_FMT "\n", msg->header.type, 
                                                          msg->header.version, len);
                        status = SWITCH_STATUS_BREAK;
                        break;