]> granicus.if.org Git - curl/commitdiff
fix compiler warning
authorYang Tse <yangsita@gmail.com>
Tue, 9 Jun 2009 00:00:28 +0000 (00:00 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 9 Jun 2009 00:00:28 +0000 (00:00 +0000)
src/main.c

index 0914a155cb4731a94704520d622f847bcb530623..732293a59f897f04d7a2cff193334cf206f5853e 100644 (file)
@@ -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;