]> granicus.if.org Git - php/commitdiff
Fixed compiler warning
authorIlia Alshanetsky <iliaa@php.net>
Tue, 14 Dec 2010 17:01:54 +0000 (17:01 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 14 Dec 2010 17:01:54 +0000 (17:01 +0000)
ext/standard/ftp_fopen_wrapper.c

index 12cdf98addf89ab2e8512fdca4bc9f16fd109715..8c7f7742b4bc9a106b125b9db63bbce2c247949c 100644 (file)
@@ -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;
                        }
                }