diff options
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; } |