diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-07-30 15:09:11 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-07-30 15:09:40 +0100 |
commit | 22cd18a7949c87c805cec5f098f43bd2a2d39703 (patch) | |
tree | 72fa1e8da14214c5b183a0413dbb0e379fdc33e3 | |
parent | 0534fb1be86e7a9654d72256c6e77816d76ee31f (diff) | |
download | qemu-arm-22cd18a7949c87c805cec5f098f43bd2a2d39703.tar.gz |
configure: Fix build with ALSA audio driver
Since commit 417c9d72d48275d19c60861896efd4962d21aca2,
all configure tests normally run with -Werror.
Some of these tests now fail because they raised a compiler warning.
Here a build breakage for ALSA (configure --audio-drv-list=alsa) is fixed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1891,7 +1891,7 @@ for drv in $audio_drv_list; do case $drv in alsa) audio_drv_probe $drv alsa/asoundlib.h -lasound \ - "snd_pcm_t **handle; return snd_pcm_close(*handle);" + "return snd_pcm_close((snd_pcm_t *)0);" libs_softmmu="-lasound $libs_softmmu" ;; |