diff options
author | Andi Gutmans <andi@php.net> | 2004-07-12 16:38:45 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2004-07-12 16:38:45 +0000 |
commit | 334ddd1248a566d51f6b49d101740f964e7d631f (patch) | |
tree | e585922d57056af15c970347e7e51834a2720818 | |
parent | 14a61929b97f1c533a6a956be556b2c90409d95e (diff) | |
download | php-git-334ddd1248a566d51f6b49d101740f964e7d631f.tar.gz |
- Convert zend_class_entry -> zend_class_entry *
-rw-r--r-- | Zend/zend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index c1245cf56b..22af4592ae 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -429,7 +429,7 @@ static void zend_set_default_compile_time_values(TSRMLS_D) static void compiler_globals_ctor(zend_compiler_globals *compiler_globals TSRMLS_DC) { zend_function tmp_func; - zend_class_entry tmp_class; + zend_class_entry *tmp_class; compiler_globals->compiled_filename = NULL; @@ -439,7 +439,7 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals TSRMLS compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); 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); |