summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-07 05:29:26 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-07 05:29:26 +0000
commit963174683971b2615aa78628332754d333c1a23b (patch)
treeb0dd02b8647fe7a45ec2f58f5a2243c31393ce03 /MdeModulePkg/Core
parentc020e37c21341394b1ef3e50c429e3824eb4e941 (diff)
downloadedk2-963174683971b2615aa78628332754d333c1a23b.zip
edk2-963174683971b2615aa78628332754d333c1a23b.tar.gz
edk2-963174683971b2615aa78628332754d333c1a23b.tar.bz2
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
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index 099e38e..f878bef 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 ++);