summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorShumin Qiu <shumin.qiu@intel.com>2013-12-19 02:03:42 +0000
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>2013-12-19 02:03:42 +0000
commit8dcd84b9d756172401d26ab2bad66316a7061b65 (patch)
treeed8318bcf3a6e4d39975f0a3d144090c2cdb0173 /ShellPkg
parent957914ee65e634eaa4743872ace6e9ac9ad446e4 (diff)
downloadedk2-platforms-8dcd84b9d756172401d26ab2bad66316a7061b65.tar.xz
Converse the return value from 'int' to 'BOOLEAN' for function ‘ContainsSplit’ in Shell.c.
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Ni, Ruiyu <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15006 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Application/Shell/Shell.c2
1 files changed, 1 insertions, 1 deletions
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));
}
/**