summaryrefslogtreecommitdiff
path: root/ArmPkg
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg')
-rw-r--r--ArmPkg/Library/BdsLib/BdsFilePath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsFilePath.c b/ArmPkg/Library/BdsLib/BdsFilePath.c
index a0a949d014..83a483cf88 100644
--- a/ArmPkg/Library/BdsLib/BdsFilePath.c
+++ b/ArmPkg/Library/BdsLib/BdsFilePath.c
@@ -697,7 +697,7 @@ BdsFirmwareVolumeLoadImage (
Status = FwVol->ReadFile (
FwVol,
FvNameGuid,
- (VOID*)(UINTN)(*Image),
+ (VOID**)Image,
ImageSize,
&FvType,
&Attrib,