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.tar.gz
rockbox-4de4a3fa1c1f10fbaa544195aad98cc914563e9f.zip
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 1b8c2da920..497e0c7c3a 100644
--- a/apps/codecs/aiff.c
+++ b/apps/codecs/aiff.c
@@ -218,7 +218,8 @@ next_track:
218 codec = get_codec(format.formattag); 218 codec = get_codec(format.formattag);
219 if (codec == 0) 219 if (codec == 0)
220 { 220 {
221 DEBUGF("CODEC_ERROR: AIFC does not support compressionType: 0x%x\n", format.formattag); 221 DEBUGF("CODEC_ERROR: AIFC does not support compressionType: 0x%x\n",
222 (unsigned int)format.formattag);
222 i = CODEC_ERROR; 223 i = CODEC_ERROR;
223 goto done; 224 goto done;
224 } 225 }
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c
index 1f210a99bf..774cfaf8ef 100644
--- a/apps/codecs/wav.c
+++ b/apps/codecs/wav.c
@@ -174,8 +174,8 @@ next_track:
174 /* this is not a fatal error with some formats, 174 /* this is not a fatal error with some formats,
175 * we'll see later if we can't decode it */ 175 * we'll see later if we can't decode it */
176 DEBUGF("CODEC_WARNING: non-PCM WAVE (formattag=0x%x) " 176 DEBUGF("CODEC_WARNING: non-PCM WAVE (formattag=0x%x) "
177 "doesn't have ext. fmt descr (chunksize=%ld<18).\n", 177 "doesn't have ext. fmt descr (chunksize=%d<18).\n",
178 format.formattag, (long)i); 178 (unsigned int)format.formattag, i);
179 } 179 }
180 else 180 else
181 { 181 {
@@ -202,7 +202,8 @@ next_track:
202 codec = get_wave_codec(format.formattag); 202 codec = get_wave_codec(format.formattag);
203 if (!codec) 203 if (!codec)
204 { 204 {
205 DEBUGF("CODEC_ERROR: unsupport wave format %x\n", format.formattag); 205 DEBUGF("CODEC_ERROR: unsupported wave format %x\n",
206 (unsigned int) format.formattag);
206 status = CODEC_ERROR; 207 status = CODEC_ERROR;
207 goto done; 208 goto done;
208 } 209 }