]> granicus.if.org Git - curl/commitdiff
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 94f36c96a63a6495a43be4e907455f42e0ed1b3b..876dbac2edd71c2546f1c0b6d5cfc48ababfebb0 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 &&