aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-09 00:00:28 +0000
committerYang Tse <yangsita@gmail.com>2009-06-09 00:00:28 +0000
commit312600fe9ce4e7a0345fe90ff690c580dedda8e1 (patch)
tree42ffe7077b3bfa672d67e8450f32b34b6c92a88d
parent3e0c067e43d548bee09b836e95deb0278e96d203 (diff)
fix compiler warning
-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;