From d316f1dca11240e70a2441cb4cc5fbbc0d6efe87 Mon Sep 17 00:00:00 2001 From: li-elvin Date: Wed, 21 Nov 2012 03:03:32 +0000 Subject: Fix GCC44 build failure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13956 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 2 +- IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyIde.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h index 6ea3a1c894..a63a7257de 100644 --- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h +++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h @@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include -#include +#include #include #include diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyIde.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyIde.c index 255baf08c6..4d520f8a32 100644 --- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyIde.c +++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyIde.c @@ -281,7 +281,7 @@ InitLegacyIdeController ( Status = gBS->HandleProtocol ( IdeController, &gEfiPciIoProtocolGuid, - &PciIo + (VOID **)&PciIo ); if (EFI_ERROR (Status)) { return ; -- cgit v1.2.3