diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-08-05 16:29:30 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-08-05 16:29:30 +0000 |
commit | 52594b6b121f42df4fa6aff9bf51d1c82b912731 (patch) | |
tree | fbc225427acc55fe230824506414115b6d287a32 /channels/chan_modem_i4l.c | |
parent | c2b31d45df9f9bdbda8876d51f9fd1cedd3a2925 (diff) |
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
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; } } |