]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix several build break in Ovmf package.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Sep 2009 14:20:11 +0000 (14:20 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Sep 2009 14:20:11 +0000 (14:20 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9292 6f19259b-4bc3-4df7-8a09-765794883524

OvmfPkg/Library/NvVarsFileLib/FsAccess.c
OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c

index cbae15afad63c36d0e5f87506c520d6ca0dbb5f8..6059f0334e21cd311ab5a65780901c2dd1b7dc7b 100644 (file)
@@ -117,7 +117,7 @@ NvVarsFileReadCheckup (
   }
 
   *Exists = TRUE;
-  *Size = FileInfo->FileSize;
+  *Size = (UINTN) FileInfo->FileSize;
 
   FreePool (FileInfo);
 }
index e7247ac262bd8784da1766b13eee219dc57a55c7..e4d1d4acbd9df5d162beb46133f76cf8a0faa4c2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Platform BDS customizations.\r
 \r
-  Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
+  Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -513,7 +513,7 @@ VisitingAPciInstance (
     return Status;\r
   }\r
 \r
-  return (*(VISIT_PCI_INSTANCE_CALLBACK) Context) (\r
+  return (*(VISIT_PCI_INSTANCE_CALLBACK)(UINTN) Context) (\r
            Handle,\r
            PciIo,\r
            &Pci\r
@@ -531,7 +531,7 @@ VisitAllPciInstances (
   return VisitAllInstancesOfProtocol (\r
            &gEfiPciIoProtocolGuid,\r
            VisitingAPciInstance,\r
-           (VOID*) CallBackFunction\r
+           (VOID*)(UINTN) CallBackFunction\r
            );\r
 }\r
 \r