PhitHob = (EFI_HOB_HANDOFF_INFO_TABLE *)GetHobList ();\r
if (PhitHob->EfiFreeMemoryTop <= MAX_UINT32) {\r
AllocType = AllocateMaxAddress;\r
- Memory = MAX_UINT32;\r
+ Memory = MAX_UINT32;\r
}\r
\r
Status = gBS->AllocatePages (AllocType, MemoryType, Pages, &Memory);\r
if (EFI_ERROR (Status)) {\r
return NULL;\r
}\r
+\r
return (VOID *)(UINTN)Memory;\r
}\r