diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-05 18:57:51 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-05 18:57:51 +0200 |
commit | e4dedafd25149b200f5c56a992ac57f91ee4f42f (patch) | |
tree | 56d7e5223d15535e68da146a11b0a262c6d2057b /encoders | |
parent | 80b0626ec8e6534d4783c79c61ca15f5555c4caf (diff) |
Fixed compiler warnings in mpg123 decoder and lame encoder.
Diffstat (limited to 'encoders')
-rw-r--r-- | encoders/encoder_lame.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |