From b9d38e9510b38a8c101fa50cbd6f75d9eff61261 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 21 Sep 2009 18:11:34 +0000 Subject: Fix Sparse warnings about using plain integer as NULL pointer Signed-off-by: Blue Swirl --- hw/tsc210x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/tsc210x.c') 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; -- cgit 1.4.1