mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
remove unneccessary cast
This commit is contained in:
parent
02b369e3a6
commit
bf1738e86d
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ PHP_FUNCTION(zip_read)
|
|||
|
||||
ZEND_FETCH_RESOURCE(archive_p, ZZIP_DIR *, zzip_dp, -1, le_zip_dir_name, le_zip_dir);
|
||||
|
||||
entry = (php_zzip_dirent *) emalloc(sizeof(php_zzip_dirent));
|
||||
entry = emalloc(sizeof(php_zzip_dirent));
|
||||
|
||||
ret = zzip_dir_read(archive_p, &entry->dirent);
|
||||
if (ret == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue