diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-15 18:42:13 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-15 18:42:13 +0000 |
commit | 08d7f8e83d17646d6170819fcb9ae1e17eb6199a (patch) | |
tree | 2390429729858cf457f19e84c7abdd20f06ae830 /ShellPkg/Library | |
parent | 7e7e7fec0ab7ba7ee2a434be426a3e0dc36126f9 (diff) | |
download | edk2-08d7f8e83d17646d6170819fcb9ae1e17eb6199a.zip edk2-08d7f8e83d17646d6170819fcb9ae1e17eb6199a.tar.gz edk2-08d7f8e83d17646d6170819fcb9ae1e17eb6199a.tar.bz2 |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 ));
}
|