]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix minor clang build issue.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 15 May 2011 17:34:49 +0000 (17:34 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 15 May 2011 17:34:49 +0000 (17:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11654 6f19259b-4bc3-4df7-8a09-765794883524

InOsEmuPkg/Unix/Sec/SecMain.c

index a1d73e8cb85bbf7ab8ba3ca59ce25824690b484a..c00268b3831959e7fd0162d5fb1b6bf729615e7e 100644 (file)
@@ -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;