diff options
Diffstat (limited to 'src')
-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, | |||
135 | hlen, | 135 | hlen, |
136 | "Basic realm=\"%s\"", | 136 | "Basic realm=\"%s\"", |
137 | realm); | 137 | realm); |
138 | if (res > 0 && res < hlen) | 138 | if (res > 0 && (size_t)res < hlen) |
139 | ret = MHD_add_response_header (response, | 139 | ret = MHD_add_response_header (response, |
140 | MHD_HTTP_HEADER_WWW_AUTHENTICATE, | 140 | MHD_HTTP_HEADER_WWW_AUTHENTICATE, |
141 | header); | 141 | header); |