From 8f0067d76db2bf933e8762dc14c5a4db5805826e Mon Sep 17 00:00:00 2001 From: andrewfish Date: Sun, 15 May 2011 17:34:49 +0000 Subject: [PATCH] Fix minor clang build issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11654 6f19259b-4bc3-4df7-8a09-765794883524 --- InOsEmuPkg/Unix/Sec/SecMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2