From bd5c0ad7bb93a661ce284f427faab01513a1e28a Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 17 Mar 2007 10:50:58 +0000 Subject: Cast some more to keep both 32 bit and 64 bit simulator platforms happy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/adx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/codecs/adx.c') diff --git a/apps/codecs/adx.c b/apps/codecs/adx.c index d85269f999..bf339675c7 100644 --- a/apps/codecs/adx.c +++ b/apps/codecs/adx.c @@ -83,7 +83,7 @@ next_track: } bufsize = n; bufoff = 0; - DEBUGF("ADX: read size = %x\n",bufsize); + DEBUGF("ADX: read size = %lx\n",(unsigned long)bufsize); /* Get file header for starting offset, channel count */ @@ -92,7 +92,7 @@ next_track: /* useful for seeking and reporting current playback position */ avgbytespersec = ci->id3->frequency * 18 * channels / 32; - DEBUGF("avgbytespersec=%ld\n",avgbytespersec); + DEBUGF("avgbytespersec=%ld\n",(unsigned long)avgbytespersec); /* Get loop data */ @@ -232,14 +232,14 @@ next_track: ci->seek_buffer(bufoff); buf = ci->request_buffer(&n, ci->filesize-bufoff); bufsize = n; - DEBUGF("ADX: read size = %x\n",bufsize); + DEBUGF("ADX: read size = %lx\n",(unsigned long)bufsize); if ((off_t)bufsize < channels*18) { /* if we can't get a full frame, just request a single frame (should be able to fit it in the guard buffer) */ DEBUGF("ADX: requesting single frame at %lx\n",bufoff); buf = ci->request_buffer(&n, channels*18); bufsize=n; - DEBUGF("ADX: read size = %x\n",bufsize); + DEBUGF("ADX: read size = %lx\n",(unsigned long)bufsize); } if (!buf) { DEBUGF("ADX: couldn't get buffer at %lx size %lx\n", -- cgit v1.2.3