From 19a7404aecbc03999bb2b9f24bae96e2dcf67915 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 27 Sep 2011 18:27:20 +0000 Subject: ArmPkg/BdsLib: Fix incorrect pointer casting A physical address (64bit) was cast to a 32bit pointer. Signed-off-by: Eugene Cohen (HP) Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12460 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/BdsLib/BdsInternal.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ArmPkg/Library/BdsLib/BdsInternal.h') diff --git a/ArmPkg/Library/BdsLib/BdsInternal.h b/ArmPkg/Library/BdsLib/BdsInternal.h index 1b5094c17b..880d780994 100644 --- a/ArmPkg/Library/BdsLib/BdsInternal.h +++ b/ArmPkg/Library/BdsLib/BdsInternal.h @@ -96,11 +96,11 @@ BdsLoadImage ( EFI_STATUS PrepareAtagList ( - IN CONST CHAR8* CommandLineString, - IN EFI_PHYSICAL_ADDRESS InitrdImage, - IN UINTN InitrdImageSize, - OUT LINUX_ATAG **AtagBase, - OUT UINT32 *AtagSize + IN CONST CHAR8* CommandLineString, + IN EFI_PHYSICAL_ADDRESS InitrdImage, + IN UINTN InitrdImageSize, + OUT EFI_PHYSICAL_ADDRESS *AtagBase, + OUT UINT32 *AtagSize ); #endif -- cgit v1.2.3