From c52acd89e872e32eae7ae6265b86b1670cd9cac1 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Tue, 26 Oct 2010 07:52:31 +0000 Subject: [PATCH] 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 --- UefiCpuPkg/CpuDxe/CpuDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }