From 14b37656a653961703682ba8f3805cf7a21680b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 24 Jan 2009 19:16:31 +0100 Subject: [PATCH] modplug: use size_t instead of int for buffer sizes --- src/decoder/modplug_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/modplug_plugin.c b/src/decoder/modplug_plugin.c index 9251b4a4c..df5971b98 100644 --- a/src/decoder/modplug_plugin.c +++ b/src/decoder/modplug_plugin.c @@ -35,7 +35,7 @@ static GByteArray *mod_loadfile(struct decoder *decoder, struct input_stream *is { unsigned char *data; GByteArray *bdatas; - int ret; + size_t ret; if (is->size == 0) { g_warning("file is empty");