From 79954a1b07c6fc8ed4cf9d48c6383521b184c818 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 26 Nov 2012 16:23:02 +0100 Subject: avoid mixing of enumerated type with another type --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 601d8d364..a781798e9 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2943,7 +2943,7 @@ ConnectionExists(struct SessionHandle *data, struct connectdata *chosen = 0; bool canPipeline = IsPipeliningPossible(data, needle); bool wantNTLM = (data->state.authhost.want==CURLAUTH_NTLM) || - (data->state.authhost.want==CURLAUTH_NTLM_WB); + (data->state.authhost.want==CURLAUTH_NTLM_WB) ? TRUE : FALSE; for(i=0; i< data->state.connc->num; i++) { bool match = FALSE; -- cgit v1.2.3