summaryrefslogtreecommitdiff
path: root/hw/tsc210x.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-21 18:11:34 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-21 18:11:34 +0000
commitb9d38e9510b38a8c101fa50cbd6f75d9eff61261 (patch)
treec267953d3408328a7d262b95a9fb95641e285525 /hw/tsc210x.c
parent52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff)
downloadqemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.gz
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/tsc210x.c')
-rw-r--r--hw/tsc210x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tsc210x.c b/hw/tsc210x.c
index 6bbe24d2fe..e851ca10a6 100644
--- a/hw/tsc210x.c
+++ b/hw/tsc210x.c
@@ -331,7 +331,7 @@ static void tsc2102_audio_output_update(TSC210xState *s)
s->codec.out.size = 0;
AUD_set_active_out(s->dac_voice[0], 0);
AUD_close_out(&s->card, s->dac_voice[0]);
- s->dac_voice[0] = 0;
+ s->dac_voice[0] = NULL;
}
s->codec.cts = 0;