diff --git a/ntoskrnl/io/iomgr/irq.c b/ntoskrnl/io/iomgr/irq.c index 66cbbdd1162..f16416aa712 100644 --- a/ntoskrnl/io/iomgr/irq.c +++ b/ntoskrnl/io/iomgr/irq.c @@ -139,8 +139,8 @@ VOID NTAPI IoDisconnectInterrupt(PKINTERRUPT InterruptObject) { - LONG i; PIO_INTERRUPT IoInterrupt; + ULONG i; PAGED_CODE(); @@ -160,7 +160,7 @@ IoDisconnectInterrupt(PKINTERRUPT InterruptObject) continue; /* Disconnect it */ - KeDisconnectInterrupt(&InterruptObject[i]); + KeDisconnectInterrupt(IoInterrupt->Interrupt[i]); } /* Free the I/O Interrupt */