]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Converse the return value from 'int' to 'BOOLEAN' for function ‘ContainsSplit’ in...
authorShumin Qiu <shumin.qiu@intel.com>
Thu, 19 Dec 2013 02:03:42 +0000 (02:03 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 19 Dec 2013 02:03:42 +0000 (02:03 +0000)
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

ShellPkg/Application/Shell/Shell.c

index 7a7bb1e736230b90bcbd37d0a23bd59010e6c8ff..53f1bc3059aed2aedf75d9885ec0217087b3baa8 100644 (file)
@@ -144,7 +144,7 @@ ContainsSplit(
 {\r
   CONST CHAR16 *TempSpot;\r
   TempSpot = FindSplit(CmdLine);\r
-  return (TempSpot != NULL && *TempSpot != CHAR_NULL);\r
+  return (BOOLEAN) ((TempSpot != NULL) && (*TempSpot != CHAR_NULL));\r
 }\r
 \r
 /**\r