modplug: use size_t instead of int for buffer sizes
This commit is contained in:
parent
4a4c6fb6dc
commit
14b37656a6
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user