diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-21 18:11:34 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-21 18:11:34 +0000 |
commit | b9d38e9510b38a8c101fa50cbd6f75d9eff61261 (patch) | |
tree | c267953d3408328a7d262b95a9fb95641e285525 /hw/tsc210x.c | |
parent | 52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff) | |
download | qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.zip qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.gz qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tsc210x.c b/hw/tsc210x.c index 6bbe24d..e851ca1 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; |