diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2007-02-04 10:24:37 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2007-02-04 10:24:37 +0000 |
commit | 7c9f4e3a3af5721f75d8a3bff9539dd91e3d2c08 (patch) | |
tree | 262b9d6e95424da5d0f6edb94d6339db824cd817 /apps/codecs/flac.c | |
parent | 39bd2375fa6d4073a9f0b033db4b271406bc6a6f (diff) | |
download | rockbox-7c9f4e3a3af5721f75d8a3bff9539dd91e3d2c08.tar.gz rockbox-7c9f4e3a3af5721f75d8a3bff9539dd91e3d2c08.zip |
Try to fix the simulator build warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12189 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r-- | apps/codecs/flac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c index 90d782e685..d297779c6b 100644 --- a/apps/codecs/flac.c +++ b/apps/codecs/flac.c | |||
@@ -450,8 +450,8 @@ enum codec_status codec_main(void) | |||
450 | while (!*ci->taginfo_ready && !ci->stop_codec) | 450 | while (!*ci->taginfo_ready && !ci->stop_codec) |
451 | ci->sleep(1); | 451 | ci->sleep(1); |
452 | 452 | ||
453 | ci->configure(DSP_SWITCH_FREQUENCY, (long *)(ci->id3->frequency)); | 453 | ci->configure(DSP_SWITCH_FREQUENCY, (int *)(ci->id3->frequency)); |
454 | ci->configure(DSP_SET_STEREO_MODE, (long *) (fc.channels == 1 | 454 | ci->configure(DSP_SET_STEREO_MODE, (int *) (fc.channels == 1 |
455 | ? STEREO_MONO : STEREO_NONINTERLEAVED)); | 455 | ? STEREO_MONO : STEREO_NONINTERLEAVED)); |
456 | codec_set_replaygain(ci->id3); | 456 | codec_set_replaygain(ci->id3); |
457 | 457 | ||