mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed incompatible pointer type
This commit is contained in:
parent
6954bd4ff6
commit
007406c775
@ -3420,7 +3420,7 @@ PHP_METHOD(Phar, copy)
|
||||
}
|
||||
}
|
||||
|
||||
if (phar_path_check(&newfile, &newfile_len, &pcr_error) > pcr_is_ok) {
|
||||
if (phar_path_check(&newfile, (int *) &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;
|
||||
|
Loading…
Reference in New Issue
Block a user