diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-07 01:10:53 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-07 01:10:53 +0000 |
commit | fbdc0e6b57f326fccefaf044bd70f1072653db00 (patch) | |
tree | f2dc8f5e79126dd1fdacdac2b70eb04b1af9bc98 /apps/playback.c | |
parent | 5f7d21dfa0b5c0c9e53eb32ecb072cf956f4552d (diff) |
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index ec93b2e9a5..20b3e76af0 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -2605,7 +2605,7 @@ static int audio_check_new_track(void) for (i = 0; i < ci.new_track; i++) { idx = (track_ridx + i) & MAX_TRACK_MASK; - if (buf_handle_offset(tracks[idx].audio_hid) > + if ((unsigned)buf_handle_offset(tracks[idx].audio_hid) > bufgetid3(tracks[idx].id3_hid)->first_frame_offset) { /* We don't have all the audio data for that track, so clear it */ |