From 963174683971b2615aa78628332754d333c1a23b Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 7 Mar 2008 05:29:26 +0000 Subject: [PATCH] Correct the visit point's type, it should be UINT32 but not UINTN git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4801 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index 099e38ef43..f878befaf2 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -443,10 +443,10 @@ Returns: // usage in temporary memory for debuging. // DEBUG_CODE_BEGIN (); - UINTN *StackPointer; + UINT32 *StackPointer; - for (StackPointer = (UINTN*)SecCoreData->StackBase; - (StackPointer < (UINTN*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \ + for (StackPointer = (UINT32*)SecCoreData->StackBase; + (StackPointer < (UINT32*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \ && (*StackPointer == INIT_CAR_VALUE); StackPointer ++);