summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/gaelco.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/gaelco.c
parenta5c832f8f710e15847fd045cc7399dc4d2a06c03 (diff)
Sound cores compile cleanly.
Diffstat (limited to 'src/emu/sound/gaelco.c')
-rw-r--r--src/emu/sound/gaelco.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/gaelco.c b/src/emu/sound/gaelco.c
index 8d7ff73e186..5021a29b605 100644
--- a/src/emu/sound/gaelco.c
+++ b/src/emu/sound/gaelco.c
@@ -77,7 +77,7 @@ struct _gaelco_sound_state
INT16 volume_table[VOLUME_LEVELS][256];
};
-static void * wavraw; /* raw waveform */
+static wav_file * wavraw; /* raw waveform */
INLINE gaelco_sound_state *get_safe_token(const device_config *device)
{
@@ -96,7 +96,7 @@ INLINE gaelco_sound_state *get_safe_token(const device_config *device)
static STREAM_UPDATE( gaelco_update )
{
- gaelco_sound_state *info = param;
+ gaelco_sound_state *info = (gaelco_sound_state *)param;
int j, ch;
/* fill all data needed */
@@ -256,7 +256,7 @@ WRITE16_DEVICE_HANDLER( gaelcosnd_w )
static DEVICE_START( gaelco )
{
int j, vol;
- const gaelcosnd_interface *intf = device->static_config;
+ const gaelcosnd_interface *intf = (const gaelcosnd_interface *)device->static_config;
gaelco_sound_state *info = get_safe_token(device);