From 3e70c28ce5e1130d90e5aaba7262fcd6d780207a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 21 May 2011 15:06:50 +0200 Subject: compiler warning: fix Fix compiler warning: enumerated type mixed with another type --- lib/http_ntlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index e279fd07b..d99aa1172 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -986,7 +986,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, int ntrespoff; unsigned char ntresp[24]; /* fixed-size */ #endif - bool unicode = ntlm->flags & NTLMFLAG_NEGOTIATE_UNICODE; + bool unicode = (ntlm->flags & NTLMFLAG_NEGOTIATE_UNICODE)?TRUE:FALSE; size_t useroff; const char *user; size_t userlen; -- cgit v1.2.3