summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-03-26 14:25:20 +0000
committerThies C. Arntzen <thies@php.net>2000-03-26 14:25:20 +0000
commit70003624fa91fedd6df822096fe53ad07f74bfa1 (patch)
tree0b74e7471538e4e40510e1de399a556bbb64b173
parentdb546462b64620fd6317264b558ad5cf0f8e44ae (diff)
downloadphp-git-70003624fa91fedd6df822096fe53ad07f74bfa1.tar.gz
fix cast
-rw-r--r--Zend/zend_opcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index faaa54f0d0..74d42cfceb 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -76,7 +76,7 @@ void init_op_array(zend_op_array *op_array, int initial_ops_size)
}
#endif
- op_array->refcount = (int *) emalloc(sizeof(int));
+ op_array->refcount = (zend_uint *) emalloc(sizeof(int));
*op_array->refcount = 1;
op_array->size = initial_ops_size;
op_array->last = 0;