]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
Correct the visit point's type, it should be UINT32 but not UINTN
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Dispatcher / Dispatcher.c
index 099e38ef43e5924616cda9717060e4225ec83891..f878befaf2edc138e55c22d99636475dec9e6a77 100644 (file)
@@ -443,10 +443,10 @@ Returns:
               // usage in temporary memory for debuging.\r
               //\r
               DEBUG_CODE_BEGIN ();\r
-                UINTN  *StackPointer;\r
+                UINT32  *StackPointer;\r
                 \r
-                for (StackPointer = (UINTN*)SecCoreData->StackBase;\r
-                     (StackPointer < (UINTN*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \\r
+                for (StackPointer = (UINT32*)SecCoreData->StackBase;\r
+                     (StackPointer < (UINT32*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \\r
                      && (*StackPointer == INIT_CAR_VALUE);\r
                      StackPointer ++);\r
                      \r