aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-21 15:06:50 +0200
committerYang Tse <yangsita@gmail.com>2011-05-21 15:06:50 +0200
commit3e70c28ce5e1130d90e5aaba7262fcd6d780207a (patch)
treecf929603f221456ea51f18fb526552c5ce9f8b3a
parent79cc6c244ac7e150a0925443f9545649be1f0f3f (diff)
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
-rw-r--r--lib/http_ntlm.c2
1 files changed, 1 insertions, 1 deletions
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;