diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-25 22:35:47 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-25 22:35:47 +0100 |
commit | 0a344d8e566f43e47fc414670c1e3fb9a04c0053 (patch) | |
tree | 3a1b83c5db195e9afd2ea264820b28743b576d8f | |
parent | 7e239f7d1d777b1283e7fc8b130d1343f0fb8c71 (diff) | |
download | curl-0a344d8e566f43e47fc414670c1e3fb9a04c0053.tar.gz |
fixup two comparisons to please MSVC's '==' : signed/unsigned mismatchbagder/urldata-bitfields
-rw-r--r-- | lib/connect.c | 2 | ||||
-rw-r--r-- | lib/http.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c index c30dee035..d1bdf77af 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1423,7 +1423,7 @@ void Curl_conncontrol(struct connectdata *conn, if((ctrl == CONNCTRL_STREAM) && (conn->handler->flags & PROTOPT_STREAM)) DEBUGF(infof(conn->data, "Kill stream: %s\n", reason)); - else if(closeit != conn->bits.close) { + else if((bit)closeit != conn->bits.close) { DEBUGF(infof(conn->data, "Marked for [%s]: %s\n", closeit?"closure":"keep alive", reason)); conn->bits.close = closeit; /* the only place in the source code that diff --git a/lib/http.c b/lib/http.c index 3ad677f5f..eb81aae71 100644 --- a/lib/http.c +++ b/lib/http.c @@ -751,7 +751,7 @@ Curl_http_output_auth(struct connectdata *conn, #ifndef CURL_DISABLE_PROXY /* Send proxy authentication header if needed */ if(conn->bits.httpproxy && - (conn->bits.tunnel_proxy == proxytunnel)) { + (conn->bits.tunnel_proxy == (bit)proxytunnel)) { result = output_auth_headers(conn, authproxy, request, path, TRUE); if(result) return result; |