summaryrefslogtreecommitdiff
path: root/ShellPkg/Library
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-15 18:42:13 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-15 18:42:13 +0000
commit08d7f8e83d17646d6170819fcb9ae1e17eb6199a (patch)
tree2390429729858cf457f19e84c7abdd20f06ae830 /ShellPkg/Library
parent7e7e7fec0ab7ba7ee2a434be426a3e0dc36126f9 (diff)
downloadedk2-platforms-08d7f8e83d17646d6170819fcb9ae1e17eb6199a.tar.xz
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
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r--ShellPkg/Library/BaseShellLib/BaseShellLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ShellPkg/Library/BaseShellLib/BaseShellLib.c b/ShellPkg/Library/BaseShellLib/BaseShellLib.c
index acc6dffb82..1ddff9a2a0 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 ));
}