From 5dbe00ab3b9b48e1bb0e2f0075690285cfb4fe18 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 3 Apr 2006 21:10:55 +0000 Subject: [PATCH] small signedness fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1014 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 872a5107c3..e37f638539 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -264,7 +264,7 @@ int switch_rtp_read(switch_rtp *rtp_session, void *data, uint32_t datalen, int * { int32_t bytes; struct sockaddr_in in; - int len = sizeof(struct sockaddr_in); + unsigned int len = sizeof(struct sockaddr_in); if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) { return -1; @@ -292,7 +292,7 @@ int switch_rtp_zerocopy_read(switch_rtp *rtp_session, void **data, int *payload_ { int32_t bytes; struct sockaddr_in in; - int len = sizeof(struct sockaddr_in); + unsigned int len = sizeof(struct sockaddr_in); *data = NULL; if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) {