diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-17 17:38:32 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-17 17:38:32 +0000 |
commit | 0cc82df1ebcd09622a38bb03a40aff49bf5363a7 (patch) | |
tree | 82e9f7052d89d33f160d34ef9104c636ef361162 /EdkModulePkg/Library | |
parent | dfd52cc1c68518ee5e3b900efa5b76bd47651455 (diff) | |
download | edk2-platforms-0cc82df1ebcd09622a38bb03a40aff49bf5363a7.tar.xz |
Fix gcc warnings -- please review affected files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1972 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Library')
-rw-r--r-- | EdkModulePkg/Library/EdkFvbServiceLib/x64/Fvb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/EdkModulePkg/Library/EdkFvbServiceLib/x64/Fvb.c b/EdkModulePkg/Library/EdkFvbServiceLib/x64/Fvb.c index 76ddfa80d4..e9d7500261 100644 --- a/EdkModulePkg/Library/EdkFvbServiceLib/x64/Fvb.c +++ b/EdkModulePkg/Library/EdkFvbServiceLib/x64/Fvb.c @@ -35,9 +35,9 @@ Key: // Lib will ASSERT if more FVB devices than this are added to the system.
//
STATIC FVB_ENTRY *mFvbEntry;
-STATIC EFI_EVENT mFvbVirtualNotifyEvent;
+// STATIC EFI_EVENT mFvbVirtualNotifyEvent;
STATIC EFI_EVENT mFvbRegistration;
-STATIC EFI_EVENT mEfiFvbVirtualNotifyEvent;
+// STATIC EFI_EVENT mEfiFvbVirtualNotifyEvent;
STATIC BOOLEAN mEfiFvbInitialized = FALSE;
STATIC UINTN mFvbCount;
@@ -113,10 +113,10 @@ Returns: //
// Get the interface pointer and if it's ours, skip it
//
- Status = gBS->HandleProtocol (Handle, &gEfiFirmwareVolumeBlockProtocolGuid, &mFvbEntry[UpdateIndex].Fvb);
+ Status = gBS->HandleProtocol (Handle, &gEfiFirmwareVolumeBlockProtocolGuid, (VOID **)&mFvbEntry[UpdateIndex].Fvb);
ASSERT_EFI_ERROR (Status);
- Status = gBS->HandleProtocol (Handle, &gEfiFvbExtensionProtocolGuid, &mFvbEntry[UpdateIndex].FvbExtension);
+ Status = gBS->HandleProtocol (Handle, &gEfiFvbExtensionProtocolGuid, (VOID **)&mFvbEntry[UpdateIndex].FvbExtension);
if (Status != EFI_SUCCESS) {
mFvbEntry[UpdateIndex].FvbExtension = NULL;
}
|