type cast tweak to propper return type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1113 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2947a7e431
commit
72820b56f2
|
@ -476,7 +476,7 @@ static int rtp_common_read(switch_rtp *rtp_session, void *data, int *payload_typ
|
|||
}
|
||||
|
||||
if (bytes < 0) {
|
||||
return bytes;
|
||||
return (int)bytes;
|
||||
} else if (bytes > 0 && switch_test_flag(rtp_session, SWITCH_RTP_FLAG_SECURE)) {
|
||||
int sbytes = (int)bytes;
|
||||
err_status_t stat;
|
||||
|
|
Loading…
Reference in New Issue