summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-02-18 17:43:55 +0000
committerThomas Martitz <kugel@rockbox.org>2010-02-18 17:43:55 +0000
commit4c78ecaa5ea6b8693b424d14fa973e999f37b042 (patch)
tree37a8381a337de54a9f07fe86a6e8ef3ced42a8f7
parent81187d88fd074d9b8fc9e8120747cfad369488cb (diff)
downloadrockbox-4c78ecaa5ea6b8693b424d14fa973e999f37b042.tar.gz
rockbox-4c78ecaa5ea6b8693b424d14fa973e999f37b042.tar.bz2
rockbox-4c78ecaa5ea6b8693b424d14fa973e999f37b042.zip
Hopefully fix yellow now, I don't understand why %ld works for ssize_t but %lu not for size_t (and still no warnings on my system).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24757 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/buffering.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 676d05d3d6..d3a30088e6 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -685,7 +685,8 @@ static bool buffer_handle(int handle_id)
stop = true;
DEBUGF( "%s(): Preventing handle corruption: h1.id:%d h2.id:%d"
" copy_n:%lu overlap:%ld h1.filerem:%lu\n", __func__,
- h->id, h->next->id, copy_n, overlap, h->filerem);
+ h->id, h->next->id, (unsigned long)copy_n, overlap,
+ (unsigned long)h->filerem);
copy_n -= overlap;
}