summaryrefslogtreecommitdiff
path: root/src/tool_formparse.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-01-02 19:31:02 +0100
committerYang Tse <yangsita@gmail.com>2012-01-04 19:11:55 +0100
commit3a55daee3df6b9d1d613a8390d6b1f67ccee9b05 (patch)
treee79bd9773c0a4a7f720f6e202d4a79f9acc3a6b4 /src/tool_formparse.c
parent7bd2add06f98251520735edb62848afff61e6303 (diff)
downloadcurl-3a55daee3df6b9d1d613a8390d6b1f67ccee9b05.tar.gz
tool_formparse.c: fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'src/tool_formparse.c')
-rw-r--r--src/tool_formparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_formparse.c b/src/tool_formparse.c
index ff2210ac8..248c89ce7 100644
--- a/src/tool_formparse.c
+++ b/src/tool_formparse.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, 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 */