summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-14 22:12:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-14 22:12:57 +0000
commit84cd3763bd812877cd096ef09bc37661db3c8ec3 (patch)
tree09ef0f0f8c9f17cde3e6408474ba77c33f148460
parentdb42781ca855e9062947b4a841b814c6401957b0 (diff)
cast ssize_t to long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26033 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/buffering.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 2c26c6634d..f194e2b82d 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -686,7 +686,7 @@ 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, (unsigned long)copy_n, overlap,
+ h->id, h->next->id, (unsigned long)copy_n, (long)overlap,
(unsigned long)h->filerem);
copy_n -= overlap;
}