diff options
author | Dmitry Stogov <dmitry@php.net> | 2011-09-13 13:29:35 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2011-09-13 13:29:35 +0000 |
commit | 4a25a7740d62c9ec0318001c3f6d6b3ae01d96ad (patch) | |
tree | 3e5041ac2a54ff635c9e77d97e2a14a2f1c860c6 /sapi/cli/php_cli.c | |
parent | 3a3c2942d254be88b82fc871ef4fa9698e921ac7 (diff) | |
download | php-git-4a25a7740d62c9ec0318001c3f6d6b3ae01d96ad.tar.gz |
Fixed ZE specific compile warnings (Bug #55629)
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 9d8c1f1132..5c2725f28b 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -940,15 +940,15 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */ file_handle.type = ZEND_HANDLE_FP; file_handle.opened_path = NULL; file_handle.free_filename = 0; - php_self = file_handle.filename; + php_self = (char*)file_handle.filename; /* before registering argv to module exchange the *new* argv[0] */ /* we can achieve this without allocating more memory */ SG(request_info).argc=argc-php_optind+1; arg_excp = argv+php_optind-1; arg_free = argv[php_optind-1]; - SG(request_info).path_translated = file_handle.filename; - argv[php_optind-1] = file_handle.filename; + SG(request_info).path_translated = (char*)file_handle.filename; + argv[php_optind-1] = (char*)file_handle.filename; SG(request_info).argv=argv+php_optind-1; if (php_request_startup(TSRMLS_C)==FAILURE) { |