From e7afdb0668ef9001ed276e5dd5879e06746d42e3 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 4 Oct 2017 16:06:57 +0300 Subject: [PATCH] Fixed invalid type --- ext/opcache/Optimizer/sccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c index 1ece45d80c3..ff3fc74c144 100644 --- a/ext/opcache/Optimizer/sccp.c +++ b/ext/opcache/Optimizer/sccp.c @@ -2019,7 +2019,7 @@ static int try_remove_definition(sccp_ctx *ctx, int var_num, zend_ssa_var *var, && opline->opcode != ZEND_ADD_ARRAY_ELEMENT) { /* Replace with QM_ASSIGN */ zend_uchar old_type = opline->result_type; - zend_uchar old_var = opline->result.var; + uint32_t old_var = opline->result.var; ssa_op->result_def = -1; zend_optimizer_remove_live_range_ex(op_array, opline->result.var, var->definition);