diff options
author | Blue Swirl | 2009-09-21 20:11:34 +0200 |
---|---|---|
committer | Blue Swirl | 2009-09-21 20:11:34 +0200 |
commit | b9d38e9510b38a8c101fa50cbd6f75d9eff61261 (patch) | |
tree | c267953d3408328a7d262b95a9fb95641e285525 /hw/pxa2xx_pcmcia.c | |
parent | Fix user targets broken by 96e132e24ee5a693069e83b6a981693588b088c1 (diff) | |
download | qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.gz qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.xz qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.zip |
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pxa2xx_pcmcia.c')
-rw-r--r-- | hw/pxa2xx_pcmcia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pxa2xx_pcmcia.c b/hw/pxa2xx_pcmcia.c index 5b42147dce..be1309f62e 100644 --- a/hw/pxa2xx_pcmcia.c +++ b/hw/pxa2xx_pcmcia.c @@ -193,8 +193,8 @@ int pxa2xx_pcmcia_dettach(void *opaque) return -ENOENT; s->card->detach(s->card->state); - s->card->slot = 0; - s->card = 0; + s->card->slot = NULL; + s->card = NULL; s->slot.attached = 0; |