summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-11 16:13:24 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-11 16:13:24 +0000
commita476718aabde0312e296acf758995af22a45e4e0 (patch)
treebd21f09baa30b25a882f04bb70a451979b65862e
parentba19bc201ae428edb319351da68d711bf960e857 (diff)
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9613 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 2cf07f4ec4..ce4e36a6f1 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1591,7 +1591,7 @@ static void initialize_buffer_fill(bool start_play)
* data for the currently playing codec to seek back into */
size_t buf_bytesleft = filebuflen - filebufused;
size_t subtract =
- MIN(MIN(AUDIO_REBUFFER_GUESS_SIZE, ci.curpos), buf_bytesleft);
+ MIN(MIN(AUDIO_REBUFFER_GUESS_SIZE, (unsigned)ci.curpos), buf_bytesleft);
fill_bytesleft = buf_bytesleft - subtract;
tracks[track_ridx].start_pos = ci.curpos - subtract;