]> granicus.if.org Git - curl/commitdiff
compiler warning: fix
authorYang Tse <yangsita@gmail.com>
Sat, 21 May 2011 12:39:42 +0000 (14:39 +0200)
committerYang Tse <yangsita@gmail.com>
Sat, 21 May 2011 12:39:42 +0000 (14:39 +0200)
Fix compiler warning: enumerated type mixed with another type

tests/unit/unit1303.c

index f94daf7a67eed22bba4f4b0f67b00079cf51ed07..2e4f23096b43d7b7b7e383fb166431355e5142b3 100644 (file)
@@ -63,7 +63,7 @@ struct timetest {
   int now_us;
   int timeout_ms;
   int connecttimeout_ms;
-  int connecting;
+  bool connecting;
   long result;
   const char *comment;
 };