@@ -1108,11 +1108,11 @@ static zend_result phar_parse_pharfile(php_stream *fp, char *fname, size_t fname
11081108
11091109 /* set up our manifest */
11101110 zend_hash_init (& mydata -> manifest , manifest_count ,
1111- zend_get_hash_value , destroy_phar_manifest_entry , ( bool ) mydata -> is_persistent );
1111+ zend_get_hash_value , destroy_phar_manifest_entry , mydata -> is_persistent );
11121112 zend_hash_init (& mydata -> mounted_dirs , 5 ,
1113- zend_get_hash_value , NULL , ( bool ) mydata -> is_persistent );
1113+ zend_get_hash_value , NULL , mydata -> is_persistent );
11141114 zend_hash_init (& mydata -> virtual_dirs , manifest_count * 2 ,
1115- zend_get_hash_value , NULL , ( bool ) mydata -> is_persistent );
1115+ zend_get_hash_value , NULL , mydata -> is_persistent );
11161116 mydata -> fname = pestrndup (fname , fname_len , mydata -> is_persistent );
11171117#ifdef PHP_WIN32
11181118 phar_unixify_path_separators (mydata -> fname , fname_len );
@@ -1451,7 +1451,7 @@ ZEND_ATTRIBUTE_NONNULL_ARGS(1, 7, 8) zend_result phar_create_or_parse_filename(c
14511451 zend_hash_init (& mydata -> mounted_dirs , sizeof (char * ),
14521452 zend_get_hash_value , NULL , 0 );
14531453 zend_hash_init (& mydata -> virtual_dirs , sizeof (char * ),
1454- zend_get_hash_value , NULL , ( bool ) mydata -> is_persistent );
1454+ zend_get_hash_value , NULL , mydata -> is_persistent );
14551455 mydata -> fname_len = fname_len ;
14561456 snprintf (mydata -> version , sizeof (mydata -> version ), "%s" , PHP_PHAR_API_VERSION );
14571457 mydata -> is_temporary_alias = alias ? 0 : 1 ;
0 commit comments