From: Xinchen Hui Date: Mon, 8 Aug 2011 07:12:12 +0000 (+0000) Subject: Prevented the warning about truncate int to char X-Git-Tag: php-5.3.7RC5~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c0c4896b393119e4da2fe6d62377be45a40b8f2;p=php Prevented the warning about truncate int to char --- diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 6828011a24..f13c17168c 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -596,7 +596,7 @@ static const char *param_mode_conflict = "Either execute direct code, process st */ static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno TSRMLS_DC) { - char c; + int c; *lineno = 1;