summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/pcm-as3525.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-20 20:48:27 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-20 20:48:27 +0000
commit511a8690c6064a2e8c2d2b7671f05e38c5624611 (patch)
tree7a11e330f0dedd5a60ac1f0581ff12d3fedb5cb3 /firmware/target/arm/as3525/pcm-as3525.c
parentde912cf62baba7502f6308f469180bb9f4100424 (diff)
Fixed compiler warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/pcm-as3525.c')
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c
index 4df31db376..650a86f85c 100644
--- a/firmware/target/arm/as3525/pcm-as3525.c
+++ b/firmware/target/arm/as3525/pcm-as3525.c
@@ -143,7 +143,7 @@ void pcm_dma_apply_settings(void)
const int divider = (((AS3525_PLLA_FREQ/128) + (frequency/2)) / frequency) - 1;
if(divider < 0 || divider > 511)
- panicf("unsupported frequency %d", frequency);
+ panicf("unsupported frequency %ld", frequency);
CGU_AUDIO &= ~(((511 ^ divider) << 2) /* I2SOUT */
/*| ((511 ^ divider) << 14) */ /* I2SIN */