From: Yang Tse Date: Tue, 9 Jun 2009 00:00:28 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: curl-7_19_6~151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=312600fe9ce4e7a0345fe90ff690c580dedda8e1;p=curl fix compiler warning --- diff --git a/src/main.c b/src/main.c index 0914a155c..732293a59 100644 --- a/src/main.c +++ b/src/main.c @@ -2637,7 +2637,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ /* disable the output I/O buffering. note that the option is called --buffer but is mostly used in the negative form: --no-buffer */ if(longopt) - config->nobuffer = !toggle; + config->nobuffer = (bool)(!toggle); else config->nobuffer = toggle; break;