Cc: Jaben Carsey <[email protected]>
Cc: Ruiyu Ni <[email protected]>
Cc: Yang Jadis <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <[email protected]>
---
ShellPkg/Application/Shell/ShellParametersProtocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ShellPkg/Application/Shell/ShellParametersProtocol.c
b/ShellPkg/Application/Shell/ShellParametersProtocol.c
index b404987..a152474 100644
--- a/ShellPkg/Application/Shell/ShellParametersProtocol.c
+++ b/ShellPkg/Application/Shell/ShellParametersProtocol.c
@@ -206,7 +206,7 @@ ParseCommandLineToArgs(
return (EFI_SUCCESS);
}
- TrimSpaces(&(CHAR16*)CommandLine);
+ TrimSpaces((CHAR16**)(&CommandLine));
Size = StrSize(CommandLine);
TempParameter = AllocateZeroPool(Size);
if (TempParameter == NULL) {
--
1.9.5.msysgit.1
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel