diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-04-10 09:42:35 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-04-10 09:42:35 +0000 |
commit | cf295a42e24599a1e4b6e33afa58fa724d40eb76 (patch) | |
tree | d794d4fe8125ef7d810ba59784eb51b871b48c58 | |
parent | ed74ec9db83aa8cd1b44d7a3432fbca0ab540d00 (diff) |
Silent compiler warning
-rw-r--r-- | src/microhttpd/basicauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |