From de6f4f356e4b35c17f55c3a2f98e9ea4adeb7fff Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 13 Dec 2011 16:18:08 +0100 Subject: connect.c: fix compiler warning 'enumerated type is mixed with another type' --- lib/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/connect.c') 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!"; -- cgit v1.2.3