svn: /php/php-src/ branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c trunk/ext/standard/ftp_fopen_wrapper.c

From: Date: Tue, 14 Dec 2010 17:01:54 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c trunk/ext/standard/ftp_fopen_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64137@lists.php.net to get a copy of this message
iliaa Tue, 14 Dec 2010 17:01:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306368 Log: Fixed compiler warning Changed paths: U php/php-src/branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c U php/php-src/trunk/ext/standard/ftp_fopen_wrapper.c Modified: php/php-src/branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c 2010-12-14 17:00:36 UTC (rev 306367) +++ php/php-src/branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c 2010-12-14 17:01:54 UTC (rev 306368) @@ -533,7 +533,7 @@ 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; } } Modified: php/php-src/trunk/ext/standard/ftp_fopen_wrapper.c =================================================================== --- php/php-src/trunk/ext/standard/ftp_fopen_wrapper.c 2010-12-14 17:00:36 UTC (rev 306367) +++ php/php-src/trunk/ext/standard/ftp_fopen_wrapper.c 2010-12-14 17:01:54 UTC (rev 306368) @@ -532,7 +532,7 @@ 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; } }

« previous php.cvs (#64137) next »