Added typecast to please the MSVC compiler.
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Mar 2003 06:45:27 +0000 (06:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Mar 2003 06:45:27 +0000 (06:45 +0000)
lib/http.c

index 94f36c9..876dbac 100644 (file)
@@ -716,7 +716,7 @@ CURLcode Curl_http(struct connectdata *conn)
   if(data->cookies) {
     co = Curl_cookie_getlist(data->cookies,
                              host, ppath,
-                             (conn->protocol&PROT_HTTPS?TRUE:FALSE));
+                             (bool)(conn->protocol&PROT_HTTPS?TRUE:FALSE));
   }
   if (data->change.proxy && *data->change.proxy &&
       !data->set.tunnel_thru_httpproxy &&