From 312600fe9ce4e7a0345fe90ff690c580dedda8e1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 9 Jun 2009 00:00:28 +0000 Subject: [PATCH] fix compiler warning --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;