summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2010-12-14 17:01:54 +0000
committerIlia Alshanetsky <iliaa@php.net>2010-12-14 17:01:54 +0000
commit844a58dc3cc53d44ee77f91e7d3b9efce6256e21 (patch)
tree415654893b9de75861d009f03587b49054ca4522
parent9c30a3398a51941de966ed700933d794e41a0afb (diff)
downloadphp-git-844a58dc3cc53d44ee77f91e7d3b9efce6256e21.tar.gz
Fixed compiler warning
-rw-r--r--ext/standard/ftp_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}