summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2002-09-19 15:12:20 +0000
committerZeev Suraski <zeev@php.net>2002-09-19 15:12:20 +0000
commitc29f5d6e9d8976ff360333f82f13d993f24ea8a5 (patch)
treecabb55bf22810d7ea012dfc9d73c1abf6b0923ce /Zend
parentf585f6b5d7d4d802cf041ba274bf47c768b3ce0b (diff)
downloadphp-git-c29f5d6e9d8976ff360333f82f13d993f24ea8a5.tar.gz
Fix that obscure crash in Debug_TS mode
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index ad0a88cea0..322fa66aab 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -294,7 +294,7 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals TSRMLS
compiler_globals->class_table = &compiler_globals->main_class.class_table;
zend_hash_init_ex(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0);
- zend_hash_copy(compiler_globals->class_table, GLOBAL_CLASS_TABLE, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry));
+ zend_hash_copy(compiler_globals->class_table, GLOBAL_CLASS_TABLE, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry *));
zend_set_default_compile_time_values(TSRMLS_C);