diff options
Diffstat (limited to 'src/emu/sound/tms36xx.c')
-rw-r--r-- | src/emu/sound/tms36xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/tms36xx.c b/src/emu/sound/tms36xx.c index b7c601b573f..7679a97ea7a 100644 --- a/src/emu/sound/tms36xx.c +++ b/src/emu/sound/tms36xx.c @@ -353,7 +353,7 @@ INLINE tms_state *get_safe_token(const device_config *device) static STREAM_UPDATE( tms36xx_sound_update ) { - tms_state *tms = param; + tms_state *tms = (tms_state *)param; int samplerate = tms->samplerate; stream_sample_t *buffer = outputs[0]; @@ -501,7 +501,7 @@ static DEVICE_START( tms36xx ) tms_state *tms = get_safe_token(device); int enable; - tms->intf = device->static_config; + tms->intf = (const tms36xx_interface *)device->static_config; tms->channel = stream_create(device, 0, 1, device->clock * 64, tms, tms36xx_sound_update); tms->samplerate = device->clock * 64; |