aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_lpc10.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_lpc10.c')
-rw-r--r--codecs/codec_lpc10.c2
1 files changed, 1 insertions, 1 deletions
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;