mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 04:16:54 +00:00
fix a bunch of gcc4 warnings realted to pointer signedness
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -316,7 +316,7 @@ static struct ast_frame *i4l_handle_escape(struct ast_modem_pvt *p, char esc)
|
||||
|
||||
static struct ast_frame *i4l_read(struct ast_modem_pvt *p)
|
||||
{
|
||||
unsigned char result[256];
|
||||
char result[256];
|
||||
short *b;
|
||||
struct ast_frame *f=NULL;
|
||||
int res;
|
||||
@@ -426,7 +426,7 @@ static struct ast_frame *i4l_read(struct ast_modem_pvt *p)
|
||||
if (!f)
|
||||
return NULL;
|
||||
} else {
|
||||
*(b++) = AST_MULAW(result[x]);
|
||||
*(b++) = AST_MULAW((int)result[x]);
|
||||
p->obuflen += 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user