summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-01-27 18:05:28 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-01-27 18:05:28 +0000
commit4de4a3fa1c1f10fbaa544195aad98cc914563e9f (patch)
tree44f4adc1eb82b00781721116a883e1ab1d1c6edc
parentc9183bf15e56bbc795f9fb08027ee6285b2ebed4 (diff)
downloadrockbox-4de4a3fa1c1f10fbaa544195aad98cc914563e9f.zip
rockbox-4de4a3fa1c1f10fbaa544195aad98cc914563e9f.tar.gz
rockbox-4de4a3fa1c1f10fbaa544195aad98cc914563e9f.tar.bz2
rockbox-4de4a3fa1c1f10fbaa544195aad98cc914563e9f.tar.xz
Fix warnings on 32 bit sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24347 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/aiff.c3
-rw-r--r--apps/codecs/wav.c7
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/codecs/aiff.c b/apps/codecs/aiff.c
index 1b8c2da..497e0c7 100644
--- a/apps/codecs/aiff.c
+++ b/apps/codecs/aiff.c
@@ -218,7 +218,8 @@ next_track:
codec = get_codec(format.formattag);
if (codec == 0)
{
- DEBUGF("CODEC_ERROR: AIFC does not support compressionType: 0x%x\n", format.formattag);
+ DEBUGF("CODEC_ERROR: AIFC does not support compressionType: 0x%x\n",
+ (unsigned int)format.formattag);
i = CODEC_ERROR;
goto done;
}
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c
index 1f210a9..774cfaf 100644
--- a/apps/codecs/wav.c
+++ b/apps/codecs/wav.c
@@ -174,8 +174,8 @@ next_track:
/* this is not a fatal error with some formats,
* we'll see later if we can't decode it */
DEBUGF("CODEC_WARNING: non-PCM WAVE (formattag=0x%x) "
- "doesn't have ext. fmt descr (chunksize=%ld<18).\n",
- format.formattag, (long)i);
+ "doesn't have ext. fmt descr (chunksize=%d<18).\n",
+ (unsigned int)format.formattag, i);
}
else
{
@@ -202,7 +202,8 @@ next_track:
codec = get_wave_codec(format.formattag);
if (!codec)
{
- DEBUGF("CODEC_ERROR: unsupport wave format %x\n", format.formattag);
+ DEBUGF("CODEC_ERROR: unsupported wave format %x\n",
+ (unsigned int) format.formattag);
status = CODEC_ERROR;
goto done;
}