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)
529529 add_assoc_zval (return_value , "wrapper_data" , & stream -> wrapperdata );
530530 }
531531 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 );
533533 }
534- add_assoc_string (return_value , "stream_type" , ( char * ) stream -> ops -> label );
534+ add_assoc_string (return_value , "stream_type" , stream -> ops -> label );
535535
536536 add_assoc_string (return_value , "mode" , stream -> mode );
537537
@@ -543,7 +543,7 @@ PHP_FUNCTION(stream_get_meta_data)
543543 array_init (newval );
544544
545545 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 );
547547 }
548548
549549 add_assoc_zval (return_value , "filters" , newval );
You can’t perform that action at this time.
0 commit comments