From: Ilia Alshanetsky Date: Tue, 14 Dec 2010 17:01:54 +0000 (+0000) Subject: Fixed compiler warning X-Git-Tag: php-5.4.0alpha1~191^2~502 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=844a58dc3cc53d44ee77f91e7d3b9efce6256e21;p=php Fixed compiler warning --- diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index 12cdf98add..8c7f7742b4 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -532,7 +532,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; } }