From 08d7f8e83d17646d6170819fcb9ae1e17eb6199a Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 15 Jun 2009 18:42:13 +0000 Subject: Fix ShellPkg build errors for UNIXGCC toolchain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8555 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/BaseShellLib/BaseShellLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ShellPkg/Library') diff --git a/ShellPkg/Library/BaseShellLib/BaseShellLib.c b/ShellPkg/Library/BaseShellLib/BaseShellLib.c index acc6dff..1ddff9a 100644 --- a/ShellPkg/Library/BaseShellLib/BaseShellLib.c +++ b/ShellPkg/Library/BaseShellLib/BaseShellLib.c @@ -455,7 +455,7 @@ ShellOpenFileByDevicePath( } Status = gBS->OpenProtocol(*DeviceHandle, &gEfiSimpleFileSystemProtocolGuid, - &EfiSimpleFileSystemProtocol, + (VOID**) &EfiSimpleFileSystemProtocol, gImageHandle, NULL, EFI_OPEN_PROTOCOL_GET_PROTOCOL); @@ -1725,7 +1725,7 @@ ShellCommandLineParse ( CheckPackage, ProblemParam, AutoPageBreak, - mEfiShellParametersProtocol->Argv, + (CONST CHAR16**) mEfiShellParametersProtocol->Argv, mEfiShellParametersProtocol->Argc )); } @@ -1737,7 +1737,7 @@ ShellCommandLineParse ( CheckPackage, ProblemParam, AutoPageBreak, - mEfiShellInterface->Argv, + (CONST CHAR16**) mEfiShellInterface->Argv, mEfiShellInterface->Argc )); } -- cgit v1.1