mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
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
This commit is contained in:
4
rtp.c
4
rtp.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user