From: Sara Golemon Date: Wed, 11 Aug 2004 04:31:03 +0000 (+0000) Subject: MFH: Fix format specifiers X-Git-Tag: php-4.3.9RC1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc8dccc7e2d6a1f1bfedca8fe33a2346240e90d0;p=php MFH: Fix format specifiers --- diff --git a/main/rfc1867.c b/main/rfc1867.c index 35abcb52b8..1c2adef9a6 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -781,7 +781,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) zend_llist header; if (SG(request_info).content_length > SG(post_max_size)) { - sapi_module.sapi_error(E_WARNING, "POST Content-Length of %d bytes exceeds the limit of %d bytes", SG(request_info).content_length, SG(post_max_size)); + sapi_module.sapi_error(E_WARNING, "POST Content-Length of %ld bytes exceeds the limit of %ld bytes", SG(request_info).content_length, SG(post_max_size)); return; } @@ -969,7 +969,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) wlen = fwrite(buff, 1, blen, fp); if (wlen < blen) { - sapi_module.sapi_error(E_WARNING, "Only %d bytes were written, expected to write %ld", wlen, blen); + sapi_module.sapi_error(E_WARNING, "Only %d bytes were written, expected to write %d", wlen, blen); cancel_upload = UPLOAD_ERROR_C; } else { total_bytes += wlen;