modplug: use size_t instead of int for buffer sizes

This commit is contained in:
Max Kellermann 2009-01-24 19:16:31 +01:00
parent 4a4c6fb6dc
commit 14b37656a6

View File

@ -35,7 +35,7 @@ static GByteArray *mod_loadfile(struct decoder *decoder, struct input_stream *is
{ {
unsigned char *data; unsigned char *data;
GByteArray *bdatas; GByteArray *bdatas;
int ret; size_t ret;
if (is->size == 0) { if (is->size == 0) {
g_warning("file is empty"); g_warning("file is empty");