small signedness fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1014 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-04-03 21:10:55 +00:00
parent 6427e320df
commit 5dbe00ab3b

View File

@ -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)) {