Skip to content

Commit 3aafc64

Browse files
committed
ext/phar: use zend_string_hash_val instead of zend_string_hash_func
As correctly pointed out by Nora.
1 parent 4592d1c commit 3aafc64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/phar/phar_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static inline void phar_set_inode(phar_entry_info *entry) /* {{{ */
390390

391391
entry->inode = (unsigned short) zend_hash_func(tmp, tmp_len);
392392
} else {
393-
entry->inode = (unsigned short) zend_string_hash_func(entry->filename);
393+
entry->inode = (unsigned short) zend_string_hash_val(entry->filename);
394394
}
395395
}
396396
/* }}} */

0 commit comments

Comments
 (0)