connect.c: fix compiler warning 'enumerated type is mixed with another type'

This commit is contained in:
Yang Tse 2011-12-13 16:18:08 +01:00
parent 66c5076252
commit de6f4f356e
1 changed files with 2 additions and 2 deletions

View File

@ -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!";