Skip to content

Commit 82b328f

Browse files
committed
Fix some minor types and missing parens
1 parent a2c2eee commit 82b328f

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
@@ -626,8 +626,6 @@ struct _zend_ast_ref {
626626
#define ZEND_GUARD_PROTECT_RECURSION(pg, t) *pg |= ZEND_GUARD_RECURSION_TYPE(t)
627627
#define ZEND_GUARD_UNPROTECT_RECURSION(pg, t) *pg &= ~ZEND_GUARD_RECURSION_TYPE(t)
628628

629-
#define ZEND_RECURSION
630-
631629
static zend_always_inline uint8_t zval_get_type(const zval* pz) {
632630
return pz->u1.v.type;
633631
}
@@ -869,7 +867,7 @@ static zend_always_inline uint32_t zval_gc_info(uint32_t gc_type_info) {
869867
#define Z_UNPROTECT_RECURSION_P(zv) Z_UNPROTECT_RECURSION(*(zv))
870868

871869
#define ZEND_GUARD_OR_GC_IS_RECURSIVE(pg, t, zobj) \
872-
pg ? ZEND_GUARD_IS_RECURSIVE(pg, t) : GC_IS_RECURSIVE(zobj)
870+
(pg ? ZEND_GUARD_IS_RECURSIVE(pg, t) : GC_IS_RECURSIVE(zobj))
873871

874872
#define ZEND_GUARD_OR_GC_PROTECT_RECURSION(pg, t, zobj) do { \
875873
if (pg) { \

0 commit comments

Comments
 (0)