mirror of
https://github.com/curl/curl.git
synced 2026-04-27 09:32:12 +03:00
fix compiler warning
This commit is contained in:
parent
3e0c067e43
commit
312600fe9c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue