From 3a55daee3df6b9d1d613a8390d6b1f67ccee9b05 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 2 Jan 2012 19:31:02 +0100 Subject: tool_formparse.c: fix compiler warning: enumerated type mixed with another type --- src/tool_formparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tool_formparse.c') 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, , 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 */ -- cgit v1.2.3