diff options
| author | Xinchen Hui <laruence@php.net> | 2014-08-28 14:56:25 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2014-08-28 14:56:25 +0800 |
| commit | de4282fa3e6c47aec15216b878d7d2e185621b01 (patch) | |
| tree | 6a25751259492be264bd1beb517027cc830dc783 | |
| parent | 4a12b4cef9c21dba91038266192d400fcf992cc4 (diff) | |
| download | php-git-de4282fa3e6c47aec15216b878d7d2e185621b01.tar.gz | |
Revert "Fixed incompatible pointer type"
This reverts commit 007406c775b527a334a0964a624810afeb599ed5.
| -rwxr-xr-x | ext/phar/phar_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index ec4c288368..0ce1c3f569 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -3420,7 +3420,7 @@ PHP_METHOD(Phar, copy) } } - if (phar_path_check(&newfile, (int *) &newfile_len, &pcr_error) > pcr_is_ok) { + if (phar_path_check(&newfile, &newfile_len, &pcr_error) > pcr_is_ok) { zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "file \"%s\" contains invalid characters %s, cannot be copied from \"%s\" in phar %s", newfile, pcr_error, oldfile, phar_obj->archive->fname); RETURN_FALSE; |
