summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-05-03 17:56:44 +0000
committerAndi Gutmans <andi@php.net>2000-05-03 17:56:44 +0000
commitf2471fd50a2229ff6d9d01823614c564e5872187 (patch)
tree0857aa633174343a6969be94199ce5e70b59323f /Zend/zend_compile.c
parent599813d73ad67bb81980d52371d0553de028aec8 (diff)
downloadphp-git-f2471fd50a2229ff6d9d01823614c564e5872187.tar.gz
- Change the place CAST uses for the op_type
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 25005b6c9e..8560f0fad2 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1892,7 +1892,7 @@ void do_cast(znode *result, znode *expr, int type CLS_DC)
opline->result.u.var = get_temporary_variable(CG(active_op_array));
opline->op1 = *expr;
SET_UNUSED(opline->op2);
- opline->op2.u.constant.type = type;
+ opline->extended_value = type;
*result = opline->result;
}