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:
Russell Bryant
2005-08-05 16:29:30 +00:00
parent c2b31d45df
commit 52594b6b12
5 changed files with 15 additions and 15 deletions

View File

@@ -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;
}
}