From 8dcd84b9d756172401d26ab2bad66316a7061b65 Mon Sep 17 00:00:00 2001 From: Shumin Qiu Date: Thu, 19 Dec 2013 02:03:42 +0000 Subject: =?UTF-8?q?Converse=20the=20return=20value=20from=20'int'=20to=20'?= =?UTF-8?q?BOOLEAN'=20for=20function=20=E2=80=98ContainsSplit=E2=80=99=20i?= =?UTF-8?q?n=20Shell.c.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ShellPkg/Application/Shell/Shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /** -- cgit v1.2.3