From: ydong10 Date: Tue, 26 Oct 2010 07:52:31 +0000 (+0000) Subject: Refine code to remove type converting warning. X-Git-Tag: edk2-stable201903~15457 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c52acd89e872e32eae7ae6265b86b1670cd9cac1 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 --- 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; }