Skip to content
Snippets Groups Projects
Commit 3e70c28c authored by Yang Tse's avatar Yang Tse
Browse files

compiler warning: fix

Fix compiler warning: enumerated type mixed with another type
parent 79cc6c24
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment