]> granicus.if.org Git - php/commitdiff
Prevented the warning about truncate int to char
authorXinchen Hui <laruence@php.net>
Mon, 8 Aug 2011 07:12:12 +0000 (07:12 +0000)
committerXinchen Hui <laruence@php.net>
Mon, 8 Aug 2011 07:12:12 +0000 (07:12 +0000)
sapi/cli/php_cli.c

index 6828011a24156a091104e996651d295c07bcef83..f13c17168ca7a48737ef52e0d53372639a4cb228 100644 (file)
@@ -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;