diff options
Diffstat (limited to '')
-rw-r--r-- | src/riff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riff.c b/src/riff.c index 4be96ac06..1cfdcaf99 100644 --- a/src/riff.c +++ b/src/riff.c @@ -70,7 +70,7 @@ riff_seek_id3(FILE *file) size = fread(&header, sizeof(header), 1, file); if (size != 1 || memcmp(header.id, "RIFF", 4) != 0 || - GUINT32_FROM_LE(header.size) > st.st_size) + GUINT32_FROM_LE(header.size) > (uint32_t)st.st_size) /* not a RIFF file */ return 0; |