From cf295a42e24599a1e4b6e33afa58fa724d40eb76 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 10 Apr 2016 09:42:35 +0000 Subject: Silent compiler warning --- src/microhttpd/basicauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/basicauth.c b/src/microhttpd/basicauth.c index 0729b3ca..9d116751 100644 --- a/src/microhttpd/basicauth.c +++ b/src/microhttpd/basicauth.c @@ -135,7 +135,7 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, hlen, "Basic realm=\"%s\"", realm); - if (res > 0 && res < hlen) + if (res > 0 && (size_t)res < hlen) ret = MHD_add_response_header (response, MHD_HTTP_HEADER_WWW_AUTHENTICATE, header); -- cgit v1.2.3