summaryrefslogtreecommitdiffstats
path: root/apps/buffering.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-05-15 03:34:31 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-05-15 03:34:31 +0000
commit6ef04a7f0e2540a78e3e197ad842b85d8119c15d (patch)
tree5c55dd71ed09f2369fc939a4a6d98fa2a95b233b /apps/buffering.c
parentff548fad8689ab767a62d2c7d9b2f2c4efece1e8 (diff)
downloadrockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.tar.gz
rockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.tar.bz2
rockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.zip
Eliminate %zd tag in printf format strings, replace them with %ld. The %z formatter kept generating type mismatch warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26040 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 5fda50198f..f194e2b82d 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:%zd h1.filerem:%lu\n", __func__,
- h->id, h->next->id, (unsigned long)copy_n, overlap,
+ " copy_n:%lu overlap:%ld h1.filerem:%lu\n", __func__,
+ h->id, h->next->id, (unsigned long)copy_n, (long)overlap,
(unsigned long)h->filerem);
copy_n -= overlap;
}