compiler warning: fix

Fix compiler warning: enumerated type mixed with another type
This commit is contained in:
Yang Tse 2011-05-21 15:06:50 +02:00
parent 79cc6c244a
commit 3e70c28ce5
1 changed files with 1 additions and 1 deletions

View File

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