]> git.proxmox.com Git - mirror_edk2.git/blobdiff - InOsEmuPkg/Unix/Sec/SecMain.c
InOsEmuPkg: Unix emulator now compiles for IA-32.
[mirror_edk2.git] / InOsEmuPkg / Unix / Sec / SecMain.c
index 4b6cb98e839cc137fa6234fcb26168529b24f1d6..807f067cebd9e34473c4d5c58d4642f1174999d2 100644 (file)
@@ -439,7 +439,7 @@ MapFd0 (
   
   // Map the rest of the FD as read/write
   res2 = mmap (
-          (void *)(FixedPcdGet64 (PcdEmuFlashFvRecoveryBase) + FvSize), 
+          (void *)(UINTN)(FixedPcdGet64 (PcdEmuFlashFvRecoveryBase) + FvSize), 
           FileSize - FvSize, 
           PROT_READ | PROT_WRITE | PROT_EXEC, 
           MAP_SHARED,