We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62fcb11 + c744531 commit aacea14Copy full SHA for aacea14
ext/ffi/ffi.c
@@ -925,7 +925,7 @@ static void *zend_ffi_create_callback(zend_ffi_type *type, zval *value) /* {{{ *
925
n++;
926
} ZEND_HASH_FOREACH_END();
927
}
928
- callback_data->ret_type = zend_ffi_get_type(type->func.ret_type);
+ callback_data->ret_type = zend_ffi_get_type(ZEND_FFI_TYPE(type->func.ret_type));
929
if (!callback_data->ret_type) {
930
zend_ffi_return_unsupported(type->func.ret_type);
931
efree(callback_data);
0 commit comments