mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
fix compiler warning
This commit is contained in:
parent
3e0c067e43
commit
312600fe9c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user