diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 21:16:51 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 21:16:51 +0000 |
commit | 660f11be541813be5f09fbaf44d8e7c6d5a5bbfe (patch) | |
tree | 1d133bdfc69d11fe81e769825adf3f680ee2f91e /hw/sysbus.c | |
parent | 2e29bd04786003561303dcad940b38afe790fb9b (diff) |
Fix Sparse warnings: "Using plain integer as NULL pointer"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sysbus.c')
-rw-r--r-- | hw/sysbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sysbus.c b/hw/sysbus.c index 814d347037..269be772b7 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -32,7 +32,7 @@ struct BusInfo system_bus_info = { void sysbus_connect_irq(SysBusDevice *dev, int n, qemu_irq irq) { assert(n >= 0 && n < dev->num_irq); - dev->irqs[n] = 0; + dev->irqs[n] = NULL; if (dev->irqp[n]) { *dev->irqp[n] = irq; } |