aboutsummaryrefslogtreecommitdiffstats
path: root/src/aiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aiff.c')
-rw-r--r--src/aiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aiff.c b/src/aiff.c
index 768e99373..71a9a2e08 100644
--- a/src/aiff.c
+++ b/src/aiff.c
@@ -70,7 +70,7 @@ aiff_seek_id3(FILE *file)
size = fread(&header, sizeof(header), 1, file);
if (size != 1 ||
memcmp(header.id, "FORM", 4) != 0 ||
- GUINT32_FROM_BE(header.size) > st.st_size ||
+ GUINT32_FROM_BE(header.size) > (uint32_t)st.st_size ||
memcmp(header.format, "AIFF", 4) != 0)
/* not a AIFF file */
return 0;