]> granicus.if.org Git - curl/commitdiff
typecast to prevent compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Fri, 29 Aug 2003 08:43:06 +0000 (08:43 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Aug 2003 08:43:06 +0000 (08:43 +0000)
lib/transfer.c

index 4264bb2e87c73956038e17a453b0d510b6226166..9592983c6404c897c7efcf520d0fe75218c4d258 100644 (file)
@@ -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 */