summaryrefslogtreecommitdiffstats
path: root/InOsEmuPkg/Unix/Sec/SecMain.c
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-15 17:34:49 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-15 17:34:49 +0000
commit8f0067d76db2bf933e8762dc14c5a4db5805826e (patch)
treea2beeec960b862f41db095c45194d2e9460725d1 /InOsEmuPkg/Unix/Sec/SecMain.c
parent9ab6800fe381b89fc29a1beca3fbc12f0c656962 (diff)
downloadedk2-8f0067d76db2bf933e8762dc14c5a4db5805826e.tar.gz
edk2-8f0067d76db2bf933e8762dc14c5a4db5805826e.tar.bz2
edk2-8f0067d76db2bf933e8762dc14c5a4db5805826e.zip
Fix minor clang build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11654 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/SecMain.c')
-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 a1d73e8cb8..c00268b383 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;