summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-03-22 19:51:40 +0000
committerJens Arnold <amiconn@rockbox.org>2006-03-22 19:51:40 +0000
commitec70f29f1e2fb6e884429a28b6be5b2489c7a66a (patch)
treee4ff88fb1ea9424dc35c624306b9d2003746e8ff
parentaac8d6917eed6acefc01960529af2e8799d83334 (diff)
downloadrockbox-ec70f29f1e2fb6e884429a28b6be5b2489c7a66a.tar.gz
rockbox-ec70f29f1e2fb6e884429a28b6be5b2489c7a66a.zip
Fix remaining warnings in 64bit simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9196 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/mpa.c2
-rw-r--r--apps/codecs/mpc.c2
-rw-r--r--apps/codecs/shorten.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 1be6222ccf..d21730ff79 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -54,7 +54,7 @@ int64_t samplecount;
54int64_t samplesdone; 54int64_t samplesdone;
55int stop_skip, start_skip; 55int stop_skip, start_skip;
56int current_stereo_mode = -1; 56int current_stereo_mode = -1;
57unsigned int current_frequency = 0; 57unsigned long current_frequency = 0;
58 58
59void recalc_samplecount(void) 59void recalc_samplecount(void)
60{ 60{
diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c
index 78d3e80644..3d3a23eeac 100644
--- a/apps/codecs/mpc.c
+++ b/apps/codecs/mpc.c
@@ -116,7 +116,7 @@ next_track:
116 goto exit; 116 goto exit;
117 } 117 }
118 frequency = info.sample_freq; 118 frequency = info.sample_freq;
119 ci->configure(DSP_SET_FREQUENCY, (long *)info.sample_freq); 119 ci->configure(DSP_SET_FREQUENCY, (long *)(long)info.sample_freq);
120 120
121 /* set playback engine up for correct number of channels */ 121 /* set playback engine up for correct number of channels */
122 /* NOTE: current musepack format only allows for stereo files 122 /* NOTE: current musepack format only allows for stereo files
diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c
index 3edc143773..6053742562 100644
--- a/apps/codecs/shorten.c
+++ b/apps/codecs/shorten.c
@@ -96,7 +96,7 @@ next_track:
96 } 96 }
97 97
98 ci->id3->frequency = sc.sample_rate; 98 ci->id3->frequency = sc.sample_rate;
99 ci->configure(DSP_SET_FREQUENCY, (long *)(sc.sample_rate)); 99 ci->configure(DSP_SET_FREQUENCY, (long *)(long)(sc.sample_rate));
100 100
101 if (sc.sample_rate) { 101 if (sc.sample_rate) {
102 ci->id3->length = (sc.totalsamples / sc.sample_rate) * 1000; 102 ci->id3->length = (sc.totalsamples / sc.sample_rate) * 1000;