summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-11-05 18:19:38 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-11-05 18:19:38 +0000
commit6631e36fa7ad200d1c92be88e9c5579a54288f71 (patch)
tree97a5d6a907261584cbace90985b3db932ae05b2f /apps/playback.c
parentb46175c20207ea96dbccee5b939948741bb635ef (diff)
Fix some logf warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15483 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 94a0430872..422eab9b74 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -846,7 +846,7 @@ void audio_set_buffer_margin(int setting)
{
static const int lookup[] = {5, 15, 30, 60, 120, 180, 300, 600};
buffer_margin = lookup[setting];
- logf("buffer margin: %ld", buffer_margin);
+ logf("buffer margin: %ld", (long)buffer_margin);
set_filebuf_watermark(buffer_margin, 0);
}
#endif