summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-12-13 16:18:08 +0100
committerYang Tse <yangsita@gmail.com>2011-12-13 16:18:08 +0100
commitde6f4f356e4b35c17f55c3a2f98e9ea4adeb7fff (patch)
tree4aac82a2dbcbe65579e4c3817817a120f285c631 /lib
parent66c50762528390677f6546b63707d24537368cb5 (diff)
downloadcurl-de6f4f356e4b35c17f55c3a2f98e9ea4adeb7fff.tar.gz
connect.c: fix compiler warning 'enumerated type is mixed with another type'
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 906fd9d18..bcd538406 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -240,8 +240,8 @@ static CURLcode bindlocal(struct connectdata *conn,
int error;
char myhost[256] = "";
int done = 0; /* -1 for error, 1 for address found */
- int is_interface = FALSE;
- int is_host = FALSE;
+ bool is_interface = FALSE;
+ bool is_host = FALSE;
static const char *if_prefix = "if!";
static const char *host_prefix = "host!";