From: Yang Tse Date: Mon, 2 Jan 2012 18:31:02 +0000 (+0100) Subject: tool_formparse.c: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_24_0~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a55daee3df6b9d1d613a8390d6b1f67ccee9b05;p=thirdparty%2Fcurl.git tool_formparse.c: fix compiler warning: enumerated type mixed with another type --- diff --git a/src/tool_formparse.c b/src/tool_formparse.c index ff2210ac8b..248c89ce7a 100644 --- a/src/tool_formparse.c +++ b/src/tool_formparse.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -130,7 +130,7 @@ int formparse(struct Configurable *config, type = NULL; if(sep) { - bool semicolon = (';' == *sep); + bool semicolon = (';' == *sep) ? TRUE : FALSE; *sep = '\0'; /* terminate file name at separator */