1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

fix compiler warning

This commit is contained in:
Yang Tse 2009-06-09 00:00:28 +00:00
parent 3e0c067e43
commit 312600fe9c

View File

@ -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;