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:
Michael Jerris 2006-04-10 23:31:48 +00:00
parent 2947a7e431
commit 72820b56f2
1 changed files with 1 additions and 1 deletions

View File

@ -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;