aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-29 08:43:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-29 08:43:06 +0000
commit3938e0f58b266ad0fac69e8bd20ca4323f8c8511 (patch)
tree6b31ab467459259a0f1cc588daf612bd907a0bb4
parentfa162e8febe054b04130355ef3a917201820c688 (diff)
typecast to prevent compiler warning
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 4264bb2e8..9592983c6 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -769,7 +769,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
if(data->state.authwant == CURLAUTH_NTLM) {
/* NTLM authentication is activated */
CURLntlm ntlm =
- Curl_input_ntlm(conn, k->httpcode == 407, start);
+ Curl_input_ntlm(conn, (bool)(k->httpcode == 407), start);
if(CURLNTLM_BAD != ntlm)
conn->newurl = strdup(data->change.url); /* clone string */