diff options
Diffstat (limited to 'src/microhttpd/postprocessor.c')
-rw-r--r-- | src/microhttpd/postprocessor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c index 0069147b..9c464152 100644 --- a/src/microhttpd/postprocessor.c +++ b/src/microhttpd/postprocessor.c | |||
@@ -391,7 +391,7 @@ process_value (struct MHD_PostProcessor *pp, | |||
391 | pp->xbuf_pos = 0; | 391 | pp->xbuf_pos = 0; |
392 | if (NULL != last_escape) | 392 | if (NULL != last_escape) |
393 | { | 393 | { |
394 | if (value_end - last_escape < sizeof (pp->xbuf)) | 394 | if (((size_t) (value_end - last_escape)) < sizeof (pp->xbuf)) |
395 | { | 395 | { |
396 | pp->xbuf_pos = value_end - last_escape; | 396 | pp->xbuf_pos = value_end - last_escape; |
397 | memcpy (pp->xbuf, | 397 | memcpy (pp->xbuf, |