adjust types.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1371 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-05-05 14:41:49 +00:00
parent 2e017dd02d
commit 9fbaceaa90
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
} }
if (bytes > 0) { if (bytes > 0) {
int effective_size = bytes - sizeof(srtp_mini_hdr_t); uint32_t effective_size = (uint32_t)(bytes - sizeof(srtp_mini_hdr_t));
if (rtp_session->recv_msg.header.pt == RTP_MAGIC_NUMBER) { if (rtp_session->recv_msg.header.pt == RTP_MAGIC_NUMBER) {
if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_MINI)) { if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_MINI)) {