From 72820b56f2af85b6869eed8f6f90086fa498af45 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 10 Apr 2006 23:31:48 +0000 Subject: [PATCH] type cast tweak to propper return type git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1113 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;