diff options
Diffstat (limited to 'hw/pcspk.c')
-rw-r--r-- | hw/pcspk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcspk.c b/hw/pcspk.c index 9bb248b807..ec1d0c687c 100644 --- a/hw/pcspk.c +++ b/hw/pcspk.c @@ -99,7 +99,7 @@ static void pcspk_callback(void *opaque, int free) int pcspk_audio_init(AudioState *audio, qemu_irq *pic) { PCSpkState *s = &pcspk_state; - audsettings_t as = {PCSPK_SAMPLE_RATE, 1, AUD_FMT_U8, 0}; + struct audsettings as = {PCSPK_SAMPLE_RATE, 1, AUD_FMT_U8, 0}; if (!audio) { AUD_log(s_spk, "No audio state\n"); |