summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/mp3data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index e3de76765b..713fb68c18 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -362,7 +362,7 @@ int get_mp3file_info(int fd, struct mp3info *info)
362 return -2; 362 return -2;
363 363
364 /* OK, we have found a frame. Let's see if it has a Xing header */ 364 /* OK, we have found a frame. Let's see if it has a Xing header */
365 if (info->frame_size-4 >= sizeof(frame)) 365 if (info->frame_size-4 >= (int)sizeof(frame))
366 { 366 {
367#if defined(DEBUG) || defined(SIMULATOR) 367#if defined(DEBUG) || defined(SIMULATOR)
368 DEBUGF("Error: Invalid id3 header, frame_size: %d\n", info->frame_size); 368 DEBUGF("Error: Invalid id3 header, frame_size: %d\n", info->frame_size);