Refine code to remove type converting warning.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 Oct 2010 07:52:31 +0000 (07:52 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 Oct 2010 07:52:31 +0000 (07:52 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10982 6f19259b-4bc3-4df7-8a09-765794883524

UefiCpuPkg/CpuDxe/CpuDxe.c

index 9e40b4d03858bfeb22bb992655e26576a51fbde6..35fba39b43aeb192cbf3f0ac9dffbaf00d946f01 100644 (file)
@@ -513,7 +513,7 @@ CpuRegisterInterruptHandler (
     return EFI_ALREADY_STARTED;\r
   }\r
 \r
-  SetInterruptDescriptorTableHandlerAddress (InterruptType, NULL);\r
+  SetInterruptDescriptorTableHandlerAddress ((UINTN)InterruptType, NULL);\r
   ExternalVectorTable[InterruptType] = InterruptHandler;\r
   return EFI_SUCCESS;\r
 }\r