From: Yang Tse Date: Sat, 21 May 2011 13:06:50 +0000 (+0200) Subject: compiler warning: fix X-Git-Tag: curl-7_21_7~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e70c28ce5e1130d90e5aaba7262fcd6d780207a;p=thirdparty%2Fcurl.git compiler warning: fix Fix compiler warning: enumerated type mixed with another type --- diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index e279fd07b2..d99aa11727 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;