summaryrefslogtreecommitdiffstats
path: root/apps/buffering.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-05-14 22:19:45 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-05-14 22:19:45 +0000
commited566826f50be17b7414dc6481c42929138f2aa8 (patch)
treed06ff3bce4d44b8ec542d7eed32a6cb7f47db902 /apps/buffering.c
parent9e974e4590aa32036ea45c8662d9293982192a48 (diff)
downloadrockbox-ed566826f50be17b7414dc6481c42929138f2aa8.tar.gz
rockbox-ed566826f50be17b7414dc6481c42929138f2aa8.tar.bz2
rockbox-ed566826f50be17b7414dc6481c42929138f2aa8.zip
Fix various size_t related warnings and errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26035 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.c')
-rw-r--r--apps/buffering.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index f194e2b82d..451fa661ee 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -685,8 +685,8 @@ static bool buffer_handle(int handle_id)
/* stop buffering data for now and post-pone buffering the rest */
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, (long)overlap,
+ " copy_n:%zu overlap:%ld h1.filerem:%lu\n", __func__,
+ h->id, h->next->id, (unsigned long)copy_n, overlap,
(unsigned long)h->filerem);
copy_n -= overlap;
}