From e4dedafd25149b200f5c56a992ac57f91ee4f42f Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 5 Sep 2010 18:57:51 +0200 Subject: Fixed compiler warnings in mpg123 decoder and lame encoder. --- encoders/encoder_lame.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'encoders/encoder_lame.c') diff --git a/encoders/encoder_lame.c b/encoders/encoder_lame.c index 39dea94..bf3baff 100644 --- a/encoders/encoder_lame.c +++ b/encoders/encoder_lame.c @@ -15,10 +15,10 @@ static gboolean lame_encoder_init(gpointer *data) { static gssize lame_encoder_encode(gpointer data, GInputStream *input, GOutputStream *output) { lame_global_flags *gfp = data; - const inbuf_size = 0x400*8; - const outbuf_size = 0x400*8; - gchar inbuf[inbuf_size]; - gchar outbuf[inbuf_size]; + const int inbuf_size = 0x400*8; + const int outbuf_size = 0x400*8; + unsigned char inbuf[inbuf_size]; + unsigned char outbuf[inbuf_size]; int inbuf_read = g_input_stream_read(input, inbuf, inbuf_size, NULL, NULL); -- cgit v1.2.3