diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-21 14:20:11 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-21 14:20:11 +0000 |
commit | 7d9cf3f25e2c8a5c7d7cf3a7325010790fffa09b (patch) | |
tree | 292c255ee579743df28b889da8eb836af452c6ec /OvmfPkg/Library | |
parent | b374d62a110565509d44f41bab59210ecedb7991 (diff) | |
download | edk2-platforms-7d9cf3f25e2c8a5c7d7cf3a7325010790fffa09b.tar.xz |
Fix several build break in Ovmf package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9292 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library')
-rw-r--r-- | OvmfPkg/Library/NvVarsFileLib/FsAccess.c | 2 | ||||
-rw-r--r-- | OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c index cbae15afad..6059f0334e 100644 --- a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c +++ b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c @@ -117,7 +117,7 @@ NvVarsFileReadCheckup ( } *Exists = TRUE; - *Size = FileInfo->FileSize; + *Size = (UINTN) FileInfo->FileSize; FreePool (FileInfo); } diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index e7247ac262..e4d1d4acbd 100644 --- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -1,7 +1,7 @@ /** @file
Platform BDS customizations.
- Copyright (c) 2004 - 2008, Intel Corporation. <BR>
+ Copyright (c) 2004 - 2009, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -513,7 +513,7 @@ VisitingAPciInstance ( return Status;
}
- return (*(VISIT_PCI_INSTANCE_CALLBACK) Context) (
+ return (*(VISIT_PCI_INSTANCE_CALLBACK)(UINTN) Context) (
Handle,
PciIo,
&Pci
@@ -531,7 +531,7 @@ VisitAllPciInstances ( return VisitAllInstancesOfProtocol (
&gEfiPciIoProtocolGuid,
VisitingAPciInstance,
- (VOID*) CallBackFunction
+ (VOID*)(UINTN) CallBackFunction
);
}
|