summaryrefslogtreecommitdiff
path: root/InOsEmuPkg
diff options
context:
space:
mode:
Diffstat (limited to 'InOsEmuPkg')
-rw-r--r--InOsEmuPkg/Unix/Sec/SecMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/InOsEmuPkg/Unix/Sec/SecMain.c b/InOsEmuPkg/Unix/Sec/SecMain.c
index a1d73e8..c00268b 100644
--- a/InOsEmuPkg/Unix/Sec/SecMain.c
+++ b/InOsEmuPkg/Unix/Sec/SecMain.c
@@ -566,7 +566,7 @@ SecPeCoffGetEntryPoint (
//
// Relocate image to match the address where it resides
//
- ImageContext.ImageAddress = Pe32Data;
+ ImageContext.ImageAddress = (UINTN)Pe32Data;
Status = PeCoffLoaderLoadImage (&ImageContext);
if (EFI_ERROR (Status)) {
return Status;