From 0a344d8e566f43e47fc414670c1e3fb9a04c0053 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 25 Feb 2019 22:35:47 +0100 Subject: fixup two comparisons to please MSVC's '==' : signed/unsigned mismatch --- lib/connect.c | 2 +- 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; -- cgit v1.2.1