summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-09-05 18:57:51 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-09-05 18:57:51 +0200
commite4dedafd25149b200f5c56a992ac57f91ee4f42f (patch)
tree56d7e5223d15535e68da146a11b0a262c6d2057b /decoders
parent80b0626ec8e6534d4783c79c61ca15f5555c4caf (diff)
Fixed compiler warnings in mpg123 decoder and lame encoder.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/decoder_mpg123.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/decoder_mpg123.c b/decoders/decoder_mpg123.c
index a7cf3d0..ea263f5 100644
--- a/decoders/decoder_mpg123.c
+++ b/decoders/decoder_mpg123.c
@@ -36,8 +36,8 @@ static gssize mpg123_decoder_decode(gpointer data, GInputStream *input,
int ret;
const int inbuf_size = 0x400*8;
const int outbuf_size = 0x400*8;
- char inbuf[inbuf_size];
- char outbuf[inbuf_size];
+ unsigned char inbuf[inbuf_size];
+ unsigned char outbuf[inbuf_size];
gsize inbuf_read = g_input_stream_read(input, inbuf, inbuf_size, NULL, NULL);