svn: /php/php-src/ branches/PHP_5_3/sapi/cli/php_cli.c branches/PHP_5_4/sapi/cli/php_cli.c trunk/sapi/cli/php_cli.c

From: Date: Mon, 08 Aug 2011 07:12:12 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/sapi/cli/php_cli.c branches/PHP_5_4/sapi/cli/php_cli.c trunk/sapi/cli/php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-65773@lists.php.net to get a copy of this message
laruence Mon, 08 Aug 2011 07:12:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=314468 Log: Prevented the warning about truncate int to char Changed paths: U php/php-src/branches/PHP_5_3/sapi/cli/php_cli.c U php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c U php/php-src/trunk/sapi/cli/php_cli.c Modified: php/php-src/branches/PHP_5_3/sapi/cli/php_cli.c =================================================================== --- php/php-src/branches/PHP_5_3/sapi/cli/php_cli.c 2011-08-08 06:49:17 UTC (rev 314467) +++ php/php-src/branches/PHP_5_3/sapi/cli/php_cli.c 2011-08-08 07:12:12 UTC (rev 314468) @@ -596,7 +596,7 @@ */ static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno TSRMLS_DC) { - char c; + int c; *lineno = 1; Modified: php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c =================================================================== --- php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c 2011-08-08 06:49:17 UTC (rev 314467) +++ php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c 2011-08-08 07:12:12 UTC (rev 314468) @@ -615,7 +615,7 @@ */ static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno TSRMLS_DC) { - char c; + int c; *lineno = 1; Modified: php/php-src/trunk/sapi/cli/php_cli.c =================================================================== --- php/php-src/trunk/sapi/cli/php_cli.c 2011-08-08 06:49:17 UTC (rev 314467) +++ php/php-src/trunk/sapi/cli/php_cli.c 2011-08-08 07:12:12 UTC (rev 314468) @@ -615,7 +615,7 @@ */ static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno TSRMLS_DC) { - char c; + int c; *lineno = 1;

« previous php.cvs (#65773) next »