aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/internal.c')
-rw-r--r--src/microhttpd/internal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c
index 5453329c..b1e2ad36 100644
--- a/src/microhttpd/internal.c
+++ b/src/microhttpd/internal.c
@@ -172,7 +172,8 @@ MHD_http_unescape (char *val)
172 } 172 }
173 } 173 }
174 *wpos = '\0'; /* add 0-terminator */ 174 *wpos = '\0'; /* add 0-terminator */
175 return wpos - val; 175 mhd_assert (wpos >= val);
176 return (size_t) (wpos - val);
176} 177}
177 178
178 179