diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index 9e40b4d038..35fba39b43 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -513,7 +513,7 @@ CpuRegisterInterruptHandler ( return EFI_ALREADY_STARTED; } - SetInterruptDescriptorTableHandlerAddress (InterruptType, NULL); + SetInterruptDescriptorTableHandlerAddress ((UINTN)InterruptType, NULL); ExternalVectorTable[InterruptType] = InterruptHandler; return EFI_SUCCESS; }