summaryrefslogtreecommitdiff
path: root/apps/codecs/mpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/mpc.c')
-rw-r--r--apps/codecs/mpc.c2
1 files changed, 1 insertions, 1 deletions
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:
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