From fb42fffeb854aa2de56b1cdcb4d4f3ba61935652 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Mon, 4 Jul 2011 10:18:18 +0000 Subject: ArmPlatformPkg: Fix build issues Other compiler version ... other warnings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11970 6f19259b-4bc3-4df7-8a09-765794883524 --- EmbeddedPkg/Library/PrePiHobLib/Hob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EmbeddedPkg/Library/PrePiHobLib') diff --git a/EmbeddedPkg/Library/PrePiHobLib/Hob.c b/EmbeddedPkg/Library/PrePiHobLib/Hob.c index c86ccb0b39..a92a1de52e 100644 --- a/EmbeddedPkg/Library/PrePiHobLib/Hob.c +++ b/EmbeddedPkg/Library/PrePiHobLib/Hob.c @@ -206,7 +206,7 @@ CreateHobList ( BuildResourceDescriptorHob (EFI_RESOURCE_SYSTEM_MEMORY, Attributes, (UINTN)MemoryBegin, MemoryLength); - BuildStackHob ((UINTN)StackBase, ((UINT64)MemoryBegin + MemoryLength) - (UINTN)StackBase); + BuildStackHob ((EFI_PHYSICAL_ADDRESS)(UINTN)StackBase, ((UINTN)MemoryBegin + MemoryLength) - (UINTN)StackBase); if (FeaturePcdGet (PcdPrePiProduceMemoryTypeInformationHob)) { // Optional feature that helps prevent EFI memory map fragmentation. -- cgit v1.2.3