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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php