diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c index 7a7bb1e736..53f1bc3059 100644 --- a/ShellPkg/Application/Shell/Shell.c +++ b/ShellPkg/Application/Shell/Shell.c @@ -144,7 +144,7 @@ ContainsSplit( { CONST CHAR16 *TempSpot; TempSpot = FindSplit(CmdLine); - return (TempSpot != NULL && *TempSpot != CHAR_NULL); + return (BOOLEAN) ((TempSpot != NULL) && (*TempSpot != CHAR_NULL)); } /**