From: Ilia Alshanetsky Date: Tue, 14 Dec 2010 17:01:54 +0000 (+0000) Subject: Fixed compiler warning X-Git-Tag: php-5.3.6RC1~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07607df542ef619efbd4b3f187d7ef8025ea1d5c;p=php Fixed compiler warning --- diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index d15171e0d2..f17fafb55b 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -533,7 +533,7 @@ php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, ch php_stream_printf(stream TSRMLS_CC, "REST %ld\r\n", Z_LVAL_PP(tmpzval)); result = GET_FTP_RESULT(stream); if (result < 300 || result > 399) { - php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to resume from offset %d", Z_LVAL_PP(tmpzval)); + php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to resume from offset %ld", Z_LVAL_PP(tmpzval)); goto errexit; } }