summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/msm5205.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-03-12 15:25:58 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-03-12 15:25:58 +0000
commit475762a3fd2a353734109495f197ca948f3bf81c (patch)
tree2c7c74dfbb96b37402686a033275e6d56b6f8a27 /src/emu/sound/msm5205.c
parenta5c832f8f710e15847fd045cc7399dc4d2a06c03 (diff)
Sound cores compile cleanly.
Diffstat (limited to 'src/emu/sound/msm5205.c')
-rw-r--r--src/emu/sound/msm5205.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/msm5205.c b/src/emu/sound/msm5205.c
index 81081e1de10..c8af8bc95db 100644
--- a/src/emu/sound/msm5205.c
+++ b/src/emu/sound/msm5205.c
@@ -103,7 +103,7 @@ static void ComputeTables (msm5205_state *voice)
/* stream update callbacks */
static STREAM_UPDATE( MSM5205_update )
{
- msm5205_state *voice = param;
+ msm5205_state *voice = (msm5205_state *)param;
stream_sample_t *buffer = outputs[0];
/* if this voice is active */
@@ -123,7 +123,7 @@ static STREAM_UPDATE( MSM5205_update )
/* timer callback at VCLK low eddge */
static TIMER_CALLBACK( MSM5205_vclk_callback )
{
- msm5205_state *voice = ptr;
+ msm5205_state *voice = (msm5205_state *)ptr;
int val;
int new_signal;
/* callback user handler and latch next data */
@@ -182,7 +182,7 @@ static DEVICE_START( msm5205 )
msm5205_state *voice = get_safe_token(device);
/* save a global pointer to our interface */
- voice->intf = device->static_config;
+ voice->intf = (const msm5205_interface *)device->static_config;
voice->device = device;
voice->clock = device->clock;