EdkCompatibilityPkg RuntimeDxe Lib: Fix GCC warning

Fix warning seen with GCC 4.4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11222 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2011-01-03 18:53:51 +00:00
parent 1d8fa5e94f
commit 58b9f0f0ee
2 changed files with 4 additions and 4 deletions

View File

@ -517,7 +517,7 @@ Returns:
// //
// Check whether it is in SMM mode. // Check whether it is in SMM mode.
// //
Status = gBS->LocateProtocol (&gEfiSmmBaseProtocolGuid, NULL, &SmmBase); Status = gBS->LocateProtocol (&gEfiSmmBaseProtocolGuid, NULL, (VOID**) &SmmBase);
if (!EFI_ERROR (Status)) { if (!EFI_ERROR (Status)) {
SmmBase->InSmm (SmmBase, &mInSmm); SmmBase->InSmm (SmmBase, &mInSmm);
} }
@ -525,7 +525,7 @@ Returns:
// //
// Directly locate SmmStatusCode protocol // Directly locate SmmStatusCode protocol
// //
Status = gBS->LocateProtocol (&gEfiSmmStatusCodeProtocolGuid, NULL, &gSmmStatusCodeProtocol); Status = gBS->LocateProtocol (&gEfiSmmStatusCodeProtocolGuid, NULL, (VOID**) &gSmmStatusCodeProtocol);
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
gSmmStatusCodeProtocol = NULL; gSmmStatusCodeProtocol = NULL;
} }

View File

@ -517,7 +517,7 @@ Returns:
// //
// Check whether it is in SMM mode. // Check whether it is in SMM mode.
// //
Status = gBS->LocateProtocol (&gEfiSmmBaseProtocolGuid, NULL, &SmmBase); Status = gBS->LocateProtocol (&gEfiSmmBaseProtocolGuid, NULL, (VOID**) &SmmBase);
if (!EFI_ERROR (Status)) { if (!EFI_ERROR (Status)) {
SmmBase->InSmm (SmmBase, &mInSmm); SmmBase->InSmm (SmmBase, &mInSmm);
} }
@ -525,7 +525,7 @@ Returns:
// //
// Directly locate SmmStatusCode protocol // Directly locate SmmStatusCode protocol
// //
Status = gBS->LocateProtocol (&gEfiSmmStatusCodeProtocolGuid, NULL, &gSmmStatusCodeProtocol); Status = gBS->LocateProtocol (&gEfiSmmStatusCodeProtocolGuid, NULL, (VOID**) &gSmmStatusCodeProtocol);
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
gSmmStatusCodeProtocol = NULL; gSmmStatusCodeProtocol = NULL;
} }