From: Michael Jerris Date: Mon, 10 Apr 2006 23:31:48 +0000 (+0000) Subject: type cast tweak to propper return type X-Git-Tag: v1.0-beta1~2880 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72820b56f2af85b6869eed8f6f90086fa498af45;p=thirdparty%2Ffreeswitch.git type cast tweak to propper return type git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1113 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 8ca5c526f8..f8a99e1dad 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -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;