diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-07 16:11:39 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-07 16:11:39 +0000 |
commit | 3bdec98161d0734fafb7dde0514a72a5a319a2e1 (patch) | |
tree | 436d13b7d67c257be5a67dd6f5ed9a5609053c13 /codecs | |
parent | 65a9c895554942a12c087db05e0e8e3c9bc6bc16 (diff) |
pointer signedness warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37299 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/codec_ilbc.c | 2 | ||||
-rw-r--r-- | codecs/codec_lpc10.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/codecs/codec_ilbc.c b/codecs/codec_ilbc.c index 883a385c8..98b5a1470 100644 --- a/codecs/codec_ilbc.c +++ b/codecs/codec_ilbc.c @@ -181,7 +181,7 @@ static struct ast_frame *lintoilbc_frameout(struct ast_trans_pvt *pvt) /* Encode a frame of data */ for ( i = 0 ; i < ILBC_SAMPLES ; i++ ) tmpf[i] = tmp->buf[i]; - iLBC_encode(pvt->outbuf + datalen, tmpf, &tmp->enc); + iLBC_encode((unsigned char *) pvt->outbuf + datalen, tmpf, &tmp->enc); datalen += ILBC_FRAME_LEN; samples += ILBC_SAMPLES; pvt->samples -= ILBC_SAMPLES; diff --git a/codecs/codec_lpc10.c b/codecs/codec_lpc10.c index e41137de1..03b7351c0 100644 --- a/codecs/codec_lpc10.c +++ b/codecs/codec_lpc10.c @@ -211,7 +211,7 @@ static struct ast_frame *lintolpc10_frameout(struct ast_trans_pvt *pvt) for (x=0;x<LPC10_SAMPLES_PER_FRAME;x++) tmpbuf[x] = (float)tmp->buf[x + samples] / 32768.0; lpc10_encode(tmpbuf, bits, tmp->lpc10.enc); - build_bits(pvt->outbuf + datalen, bits); + build_bits((unsigned char *) pvt->outbuf + datalen, bits); datalen += LPC10_BYTES_IN_COMPRESSED_FRAME; samples += LPC10_SAMPLES_PER_FRAME; pvt->samples -= LPC10_SAMPLES_PER_FRAME; |