File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -529,9 +529,9 @@ PHP_FUNCTION(stream_get_meta_data)
529
529
add_assoc_zval (return_value , "wrapper_data" , & stream -> wrapperdata );
530
530
}
531
531
if (stream -> wrapper ) {
532
- add_assoc_string (return_value , "wrapper_type" , ( char * ) stream -> wrapper -> wops -> label );
532
+ add_assoc_string (return_value , "wrapper_type" , stream -> wrapper -> wops -> label );
533
533
}
534
- add_assoc_string (return_value , "stream_type" , ( char * ) stream -> ops -> label );
534
+ add_assoc_string (return_value , "stream_type" , stream -> ops -> label );
535
535
536
536
add_assoc_string (return_value , "mode" , stream -> mode );
537
537
@@ -543,7 +543,7 @@ PHP_FUNCTION(stream_get_meta_data)
543
543
array_init (newval );
544
544
545
545
for (filter = stream -> filterhead ; filter != NULL ; filter = filter -> next ) {
546
- add_next_index_string (newval , ( char * ) filter -> fops -> label );
546
+ add_next_index_string (newval , filter -> fops -> label );
547
547
}
548
548
549
549
add_assoc_zval (return_value , "filters" , newval );
You can’t perform that action at this time.
0 commit comments