diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-05 16:29:30 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-05 16:29:30 +0000 |
commit | c7503d31d324862f238c4d041fd54e67ea55337d (patch) | |
tree | fbc225427acc55fe230824506414115b6d287a32 /channels/chan_modem_i4l.c | |
parent | 1406a1f104585b283adabf460997885c39efc473 (diff) |
fix a bunch of gcc4 warnings realted to pointer signedness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6290 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_modem_i4l.c')
-rwxr-xr-x | channels/chan_modem_i4l.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_modem_i4l.c b/channels/chan_modem_i4l.c index ddcf3810b..432030aa9 100755 --- a/channels/chan_modem_i4l.c +++ b/channels/chan_modem_i4l.c @@ -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; } } |