From: Shumin Qiu Date: Thu, 19 Dec 2013 02:03:42 +0000 (+0000) Subject: Converse the return value from 'int' to 'BOOLEAN' for function ‘ContainsSplit’ in... X-Git-Tag: edk2-stable201903~11951 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=8dcd84b9d756172401d26ab2bad66316a7061b65 Converse the return value from 'int' to 'BOOLEAN' for function ‘ContainsSplit’ in Shell.c. Signed-off-by: Shumin Qiu Reviewed-by: Ni, Ruiyu git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15006 6f19259b-4bc3-4df7-8a09-765794883524 --- 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)); } /**