fix compiler warning: enumerated type mixed with another type
authorYang Tse <yangsita@gmail.com>
Mon, 31 May 2010 15:34:28 +0000 (17:34 +0200)
committerYang Tse <yangsita@gmail.com>
Mon, 31 May 2010 15:34:28 +0000 (17:34 +0200)
src/main.c

index 8ee8f68..4e0128c 100644 (file)
@@ -4065,8 +4065,8 @@ output_expected(const char* url, const char* uploadfile)
   return FALSE; /* non-HTTP upload, probably no output should be expected */
 }
 
-#define my_setopt(x,y,z) _my_setopt(x, 0, config, #y, y, z)
-#define my_setopt_str(x,y,z) _my_setopt(x, 1, config, #y, y, z)
+#define my_setopt(x,y,z) _my_setopt(x, FALSE, config, #y, y, z)
+#define my_setopt_str(x,y,z) _my_setopt(x, TRUE, config, #y, y, z)
 
 static struct curl_slist *easycode;