Skip to content

Commit 4a1ae93

Browse files
committed
Zend/Optimizer/zend_optimizer.c: use uint32_t type instead of int
1 parent ada9d37 commit 4a1ae93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Optimizer/zend_optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ const zend_class_constant *zend_fetch_class_const_info(
869869
} else if (opline->op1_type == IS_UNUSED
870870
&& op_array->scope && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT)
871871
&& !(op_array->fn_flags & ZEND_ACC_TRAIT_CLONE)) {
872-
int fetch_type = opline->op1.num & ZEND_FETCH_CLASS_MASK;
872+
uint32_t fetch_type = opline->op1.num & ZEND_FETCH_CLASS_MASK;
873873
if (fetch_type == ZEND_FETCH_CLASS_SELF) {
874874
ce = op_array->scope;
875875
} else if (fetch_type == ZEND_FETCH_CLASS_STATIC) {

0 commit comments

Comments
 (0)