summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-08-08 07:12:12 +0000
committerXinchen Hui <laruence@php.net>2011-08-08 07:12:12 +0000
commit6c0c4896b393119e4da2fe6d62377be45a40b8f2 (patch)
tree650f1616196d924e4ab2638ce8bd5ebb91d69487 /sapi/cli/php_cli.c
parent08a499f14218de5be05b2e324d304512c667c867 (diff)
downloadphp-git-6c0c4896b393119e4da2fe6d62377be45a40b8f2.tar.gz
Prevented the warning about truncate int to char
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
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;