diff options
author | 2009-03-12 15:25:58 +0000 | |
---|---|---|
committer | 2009-03-12 15:25:58 +0000 | |
commit | 475762a3fd2a353734109495f197ca948f3bf81c (patch) | |
tree | 2c7c74dfbb96b37402686a033275e6d56b6f8a27 /src/emu/sound/c140.c | |
parent | a5c832f8f710e15847fd045cc7399dc4d2a06c03 (diff) |
Sound cores compile cleanly.
Diffstat (limited to 'src/emu/sound/c140.c')
-rw-r--r-- | src/emu/sound/c140.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/c140.c b/src/emu/sound/c140.c index 68bb3ec66e8..0d258903405 100644 --- a/src/emu/sound/c140.c +++ b/src/emu/sound/c140.c @@ -272,7 +272,7 @@ INLINE int limit(INT32 in) static STREAM_UPDATE( update_stereo ) { - c140_state *info = param; + c140_state *info = (c140_state *)param; int i,j; INT32 rvol,lvol; @@ -467,7 +467,7 @@ static STREAM_UPDATE( update_stereo ) static DEVICE_START( c140 ) { - const c140_interface *intf = device->static_config; + const c140_interface *intf = (const c140_interface *)device->static_config; c140_state *info = get_safe_token(device); info->sample_rate=info->baserate=device->clock; @@ -496,7 +496,7 @@ static DEVICE_START( c140 ) } /* allocate a pair of buffers to mix into - 1 second's worth should be more than enough */ - info->mixer_buffer_left = auto_malloc(2 * sizeof(INT16)*info->sample_rate ); + info->mixer_buffer_left = (INT16 *)auto_malloc(2 * sizeof(INT16)*info->sample_rate ); info->mixer_buffer_right = info->mixer_buffer_left + info->sample_rate; } |