aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2016-08-08 20:17:51 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2016-08-09 21:45:00 -0700
commit0068bdb65a1b96c143189170811d004aa8bf0cd2 (patch)
tree52721636f916f97fe30136461040e41c557eeba0 /src/php/ext
parent10776b99cfa17dceae79f2e96d6b694b3d636db2 (diff)
php7: fix ubuntu compile error
Diffstat (limited to 'src/php/ext')
-rw-r--r--src/php/ext/grpc/php7_wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/ext/grpc/php7_wrapper.h b/src/php/ext/grpc/php7_wrapper.h
index fd8d35636f..0d40e82507 100644
--- a/src/php/ext/grpc/php7_wrapper.h
+++ b/src/php/ext/grpc/php7_wrapper.h
@@ -143,7 +143,7 @@ static inline int php_grpc_zend_hash_find(HashTable *ht, char *key, int len,
#define PHP_GRPC_RETURN_STRING(val, dup) RETURN_STRING(val)
#define PHP_GRPC_MAKE_STD_ZVAL(pzv) \
- zval _stack_zval_##pzv; \
+ static zval _stack_zval_##pzv; \
pzv = &(_stack_zval_##pzv)
#define PHP_GRPC_DELREF(zv)