From 45e57c2bb02f7d20717283e55fd24c7cbd0b03fa Mon Sep 17 00:00:00 2001 From: yuqing Date: Mon, 6 Jun 2016 21:15:53 +0800 Subject: [PATCH] correct pointer type in php7 --- src/php7_ext_wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/php7_ext_wrapper.h b/src/php7_ext_wrapper.h index 354de61..ccb4bd4 100644 --- a/src/php7_ext_wrapper.h +++ b/src/php7_ext_wrapper.h @@ -185,7 +185,7 @@ static inline int zend_hash_index_find_wrapper(HashTable *ht, int index, } static inline int zend_hash_update_wrapper(HashTable *ht, char *k, int len, - void **val, int size, void *ptr) + zval **val, int size, void *ptr) { zval key; ZVAL_STRINGL(&key, k, len - 1);