diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2006-08-30 16:27:00 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2006-08-30 16:27:00 +0000 |
commit | 92f07a65ad0fee18fecb0e38daf460bf05568cb2 (patch) | |
tree | 77b955ae9acf24dee0668800fd4872329fb5ba3e /apps | |
parent | 719d22092554b3f26aed9a7c5e21a2ef3bd86065 (diff) | |
download | rockbox-92f07a65ad0fee18fecb0e38daf460bf05568cb2.tar.gz rockbox-92f07a65ad0fee18fecb0e38daf460bf05568cb2.zip |
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10808 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 adb676e7b1..3c8585b50f 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1477,7 +1477,7 @@ static void audio_read_file(bool quick) | |||
1477 | overlap = buf_widx - tracks[track_ridx].buf_idx; | 1477 | overlap = buf_widx - tracks[track_ridx].buf_idx; |
1478 | if (buf_widx >= filebuflen) | 1478 | if (buf_widx >= filebuflen) |
1479 | buf_widx -= filebuflen; | 1479 | buf_widx -= filebuflen; |
1480 | if (overlap >= filebuflen) | 1480 | if (overlap > 0 && (unsigned) overlap >= filebuflen) |
1481 | overlap -= filebuflen; | 1481 | overlap -= filebuflen; |
1482 | 1482 | ||
1483 | if (overlap > 0 && overlap <= rc && tracks[track_ridx].available != 0) { | 1483 | if (overlap > 0 && overlap <= rc && tracks[track_ridx].available != 0) { |