diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-01-24 18:07:45 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-01-24 18:07:45 +0000 |
commit | d90ebc65a6f7c321a0921336746372a6ef5e34b2 (patch) | |
tree | b04bbed0ac6b74e51077b3b6259023f3e21e33ac /Zend/zend_builtin_functions.c | |
parent | c09d8d931f2c0e0f49bbdff931c007e4e6f3c567 (diff) | |
download | php-git-d90ebc65a6f7c321a0921336746372a6ef5e34b2.tar.gz |
Fixed comilation warnings
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 0714117881..0fb77f0c77 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1654,7 +1654,7 @@ ZEND_FUNCTION(get_defined_constants) zend_constant *val; int module_number; zval **modules; - const char **module_names; + char **module_names; zend_module_entry *module; int i = 1; @@ -1664,7 +1664,7 @@ ZEND_FUNCTION(get_defined_constants) module_names[0] = "internal"; zend_hash_internal_pointer_reset_ex(&module_registry, &pos); while (zend_hash_get_current_data_ex(&module_registry, (void *) &module, &pos) != FAILURE) { - module_names[i++] = module->name; + module_names[i++] = (char*)module->name; zend_hash_move_forward_ex(&module_registry, &pos); } module_names[i] = "user"; |