diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-05-15 03:21:51 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-05-15 03:21:51 +0000 |
commit | 6cd4f9a8d394e34bdf8427ea6a597a156d8bae55 (patch) | |
tree | 45e9c8d4371354f9d1d8449b2f3a74af93e30653 /rtp.c | |
parent | 977fd5a157d150358099c6cfc7ca2b02ade4a9f1 (diff) |
correct some signed/unsigned issues found by GCC 4 (bug #4237)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -313,7 +313,7 @@ static int rtpread(int *id, int fd, short events, void *cbdata) struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp) { static struct ast_frame null_frame = { AST_FRAME_NULL, }; - int len; + socklen_t len; int hdrlen = 8; int res; struct sockaddr_in sin; @@ -382,7 +382,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp) { int res; struct sockaddr_in sin; - int len; + socklen_t len; unsigned int seqno; int version; int payloadtype; |