projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79cc6c2
)
compiler warning: fix
author
Yang Tse
<yangsita@gmail.com>
Sat, 21 May 2011 13:06:50 +0000
(15:06 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Sat, 21 May 2011 13:06:50 +0000
(15:06 +0200)
Fix compiler warning: enumerated type mixed with another type
lib/http_ntlm.c
patch
|
blob
|
history
diff --git
a/lib/http_ntlm.c
b/lib/http_ntlm.c
index e279fd07b2d38d057bff1f3e3af690476173c498..d99aa1172770c2084906d3322a3cd890edca374d 100644
(file)
--- 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_UNICOD
E;
+ bool unicode =
(ntlm->flags & NTLMFLAG_NEGOTIATE_UNICODE)?TRUE:FALS
E;
size_t useroff;
const char *user;
size_t userlen;