X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FLibrary%2FBaseShellLib%2FBaseShellLib.c;h=1ddff9a2a0130478a08370dc9cd05807f8b08abc;hp=acc6dffb82699e21cd100e995584ca883543f892;hb=08d7f8e83d17646d6170819fcb9ae1e17eb6199a;hpb=7e7e7fec0ab7ba7ee2a434be426a3e0dc36126f9 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 )); }