From b295dfd486e34c28fa5166a783aa992d004fae3c Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 5 Apr 2010 03:43:36 +0000 Subject: [PATCH] MdeModulePkg: Fix warning with VS2005 toolchain on IA32 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10338 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c index 9a78698df9..5995f97c61 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Page.c +++ b/MdeModulePkg/Core/Dxe/Mem/Page.c @@ -830,7 +830,7 @@ CoreConvertPages ( // CoreAddRange (NewType, Start, RangeEnd, Attribute); if (NewType == EfiConventionalMemory) { - DEBUG_CLEAR_MEMORY ((VOID *)(UINTN)Start, RangeEnd - Start + 1); + DEBUG_CLEAR_MEMORY ((VOID *)(UINTN) Start, (UINTN) (RangeEnd - Start + 1)); } //