aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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;