aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 5cef1cfe..f67db9e3 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -258,7 +258,7 @@ lookup_sub_value (char *dest,
258 } 258 }
259 else 259 else
260 { 260 {
261 if (size > (q2 - q1) + 1) 261 if (size > (size_t) ((q2 - q1) + 1))
262 size = (q2 - q1) + 1; 262 size = (q2 - q1) + 1;
263 size--; 263 size--;
264 memcpy (dest, 264 memcpy (dest,