summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-28 02:22:57 +0000
committerMarcus Boerger <helly@php.net>2006-02-28 02:22:57 +0000
commitc4b81d87204276712c49591441314dad9222d27b (patch)
tree332760847bb5ea8245502474ece1540443579c37 /ext/reflection/php_reflection.c
parent728493ca37c52c184a08f4a2566decc8b644178e (diff)
downloadphp-git-c4b81d87204276712c49591441314dad9222d27b.tar.gz
- Fix warning
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 2a5d176446..65525a2c70 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -554,7 +554,7 @@ static zend_op* _get_recv_op(zend_op_array *op_array, zend_uint offset)
++offset;
while (op < end) {
if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) &&
- op->op1.u.constant.value.lval == offset) {
+ op->op1.u.constant.value.lval == (long)offset) {
return op;
}
++op;