diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-03-22 19:51:40 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-03-22 19:51:40 +0000 |
| commit | ec70f29f1e2fb6e884429a28b6be5b2489c7a66a (patch) | |
| tree | e4ff88fb1ea9424dc35c624306b9d2003746e8ff /apps/codecs | |
| parent | aac8d6917eed6acefc01960529af2e8799d83334 (diff) | |
| download | rockbox-ec70f29f1e2fb6e884429a28b6be5b2489c7a66a.zip rockbox-ec70f29f1e2fb6e884429a28b6be5b2489c7a66a.tar.gz rockbox-ec70f29f1e2fb6e884429a28b6be5b2489c7a66a.tar.bz2 rockbox-ec70f29f1e2fb6e884429a28b6be5b2489c7a66a.tar.xz | |
Fix remaining warnings in 64bit simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9196 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/mpa.c | 2 | ||||
| -rw-r--r-- | apps/codecs/mpc.c | 2 | ||||
| -rw-r--r-- | apps/codecs/shorten.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 1be6222..d21730f 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -54,7 +54,7 @@ int64_t samplecount; int64_t samplesdone; int stop_skip, start_skip; int current_stereo_mode = -1; -unsigned int current_frequency = 0; +unsigned long current_frequency = 0; void recalc_samplecount(void) { diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 78d3e80..3d3a23e 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -116,7 +116,7 @@ next_track: goto exit; } frequency = info.sample_freq; - ci->configure(DSP_SET_FREQUENCY, (long *)info.sample_freq); + ci->configure(DSP_SET_FREQUENCY, (long *)(long)info.sample_freq); /* set playback engine up for correct number of channels */ /* NOTE: current musepack format only allows for stereo files diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c index 3edc143..6053742 100644 --- a/apps/codecs/shorten.c +++ b/apps/codecs/shorten.c @@ -96,7 +96,7 @@ next_track: } ci->id3->frequency = sc.sample_rate; - ci->configure(DSP_SET_FREQUENCY, (long *)(sc.sample_rate)); + ci->configure(DSP_SET_FREQUENCY, (long *)(long)(sc.sample_rate)); if (sc.sample_rate) { ci->id3->length = (sc.totalsamples / sc.sample_rate) * 1000; |