From 6c0c4896b393119e4da2fe6d62377be45a40b8f2 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 8 Aug 2011 07:12:12 +0000 Subject: Prevented the warning about truncate int to char --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') 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; -- cgit v1.2.1