summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 1c0198eeea..010655a89a 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1187,7 +1187,7 @@ ZEND_API int zend_register_module_ex(zend_module_entry *module TSRMLS_DC)
if (!module->module_started && module->module_startup_func) {
EG(current_module) = module;
- if (module->module_startup_func(Z_TYPE_P(module), module->module_number TSRMLS_CC)==FAILURE) {
+ if (module->module_startup_func(module->type, module->module_number TSRMLS_CC)==FAILURE) {
zend_error(E_CORE_ERROR,"Unable to start %s module", module->name);
EG(current_module) = NULL;
return FAILURE;