summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe/CpuDxe.c
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-26 07:52:31 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-26 07:52:31 +0000
commitc52acd89e872e32eae7ae6265b86b1670cd9cac1 (patch)
tree47cc1b05df2f8a099a60cad537b6b051e7151920 /UefiCpuPkg/CpuDxe/CpuDxe.c
parentf7a14a9b996ff7b20984d887d4a5a5c3f29f6d84 (diff)
downloadedk2-c52acd89e872e32eae7ae6265b86b1670cd9cac1.tar.gz
edk2-c52acd89e872e32eae7ae6265b86b1670cd9cac1.tar.bz2
edk2-c52acd89e872e32eae7ae6265b86b1670cd9cac1.zip
Refine code to remove type converting warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10982 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/CpuDxe/CpuDxe.c')
-rw-r--r--UefiCpuPkg/CpuDxe/CpuDxe.c2
1 files changed, 1 insertions, 1 deletions
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;
}