aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/modplug_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 19:16:31 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 19:16:31 +0100
commit14b37656a653961703682ba8f3805cf7a21680b4 (patch)
tree1e1857dcfee902b41a983346c95be1b2428ceccf /src/decoder/modplug_plugin.c
parent4a4c6fb6dcea31c1827a1580f940b589dbf3856f (diff)
downloadmpd-14b37656a653961703682ba8f3805cf7a21680b4.tar.gz
mpd-14b37656a653961703682ba8f3805cf7a21680b4.tar.xz
mpd-14b37656a653961703682ba8f3805cf7a21680b4.zip
modplug: use size_t instead of int for buffer sizes
Diffstat (limited to '')
-rw-r--r--src/decoder/modplug_plugin.c2
1 files changed, 1 insertions, 1 deletions
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");