diff options
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 01daaa17be..de96c1e3b1 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -247,7 +247,7 @@ typedef union _zstr { #endif #ifdef __GNUC__ -# define ZSTR(x) ((zstr)(x)) +# define ZSTR(x) ((zstr)((void*)(x))) # define NULL_ZSTR ZSTR((void*)NULL) # define EMPTY_ZSTR ZSTR("\0\0") #else @@ -368,7 +368,7 @@ struct _zend_class_entry { HashTable default_static_members; HashTable *static_members; HashTable constants_table; - struct _zend_function_entry *builtin_functions; + const struct _zend_function_entry *builtin_functions; union _zend_function *constructor; union _zend_function *destructor; |