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/pxa2xx_timer.c | |
parent | 52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff) | |
download | 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_timer.c')
-rw-r--r-- | hw/pxa2xx_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx_timer.c b/hw/pxa2xx_timer.c index 43bad2c9c2..d992cc3c43 100644 --- a/hw/pxa2xx_timer.c +++ b/hw/pxa2xx_timer.c @@ -465,7 +465,7 @@ void pxa25x_timer_init(target_phys_addr_t base, qemu_irq *irqs) { pxa2xx_timer_info *s = pxa2xx_timer_init(base, irqs); s->freq = PXA25X_FREQ; - s->tm4 = 0; + s->tm4 = NULL; } void pxa27x_timer_init(target_phys_addr_t base, |