From 4517f3447d04b041b8b6f848fd04d4a109941845 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 7 Jul 2006 16:11:39 +0000 Subject: [PATCH] pointer signedness warnings git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37299 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/codec_ilbc.c | 2 +- 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 883a385..98b5a14 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 e41137d..03b7351 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;xbuf[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; -- 1.7.9.5