Skip to content

Commit fc718a8

Browse files
committed
Fix some minor types and missing parens
1 parent 91f8979 commit fc718a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: Zend/zend_types.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,6 @@ struct _zend_ast_ref {
635635
#define ZEND_GUARD_PROTECT_RECURSION(pg, t) *pg |= ZEND_GUARD_RECURSION_TYPE(t)
636636
#define ZEND_GUARD_UNPROTECT_RECURSION(pg, t) *pg &= ~ZEND_GUARD_RECURSION_TYPE(t)
637637

638-
#define ZEND_RECURSION
639-
640638
static zend_always_inline uint8_t zval_get_type(const zval* pz) {
641639
return pz->u1.v.type;
642640
}
@@ -878,7 +876,7 @@ static zend_always_inline uint32_t zval_gc_info(uint32_t gc_type_info) {
878876
#define Z_UNPROTECT_RECURSION_P(zv) Z_UNPROTECT_RECURSION(*(zv))
879877

880878
#define ZEND_GUARD_OR_GC_IS_RECURSIVE(pg, t, zobj) \
881-
pg ? ZEND_GUARD_IS_RECURSIVE(pg, t) : GC_IS_RECURSIVE(zobj)
879+
(pg ? ZEND_GUARD_IS_RECURSIVE(pg, t) : GC_IS_RECURSIVE(zobj))
882880

883881
#define ZEND_GUARD_OR_GC_PROTECT_RECURSION(pg, t, zobj) do { \
884882
if (pg) { \

0 commit comments

Comments
 (0)