Fix Sparse warnings about using plain integer as NULL pointer

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-09-21 18:11:34 +00:00
parent 52d946208e
commit b9d38e9510
16 changed files with 43 additions and 43 deletions

View file

@ -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,