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
This commit is contained in:
qhuang8 2009-09-21 14:20:11 +00:00
parent b374d62a11
commit 7d9cf3f25e
2 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ NvVarsFileReadCheckup (
}
*Exists = TRUE;
*Size = FileInfo->FileSize;
*Size = (UINTN) FileInfo->FileSize;
FreePool (FileInfo);
}

View File

@ -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
);
}