summaryrefslogtreecommitdiffstats
path: root/apps/codecs/adx.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-17 10:50:58 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-17 10:50:58 +0000
commitbd5c0ad7bb93a661ce284f427faab01513a1e28a (patch)
tree5700a37c5985937375a9c952dbaca9890afaf565 /apps/codecs/adx.c
parent341b03a24229f16bba98f88832a07d37b834eb63 (diff)
downloadrockbox-bd5c0ad7bb93a661ce284f427faab01513a1e28a.tar.gz
rockbox-bd5c0ad7bb93a661ce284f427faab01513a1e28a.tar.bz2
rockbox-bd5c0ad7bb93a661ce284f427faab01513a1e28a.zip
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
Diffstat (limited to 'apps/codecs/adx.c')
-rw-r--r--apps/codecs/adx.c8
1 files changed, 4 insertions, 4 deletions
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",