summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-26 16:00:35 +0000
committerAndi Gutmans <andi@php.net>2000-03-26 16:00:35 +0000
commitb763b25c969286592e6e812c2b9001f915c37443 (patch)
tree5caefd2d1c621064dd7cdc6ac51fd94dbbf88587 /Zend/zend_opcode.c
parent3b2bcf3c41ff868080e8ef90cf73af4552664422 (diff)
downloadphp-git-b763b25c969286592e6e812c2b9001f915c37443.tar.gz
- Include Andrea's fix for alloca.h
Diffstat (limited to 'Zend/zend_opcode.c')
-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 74d42cfceb..96ac7952ec 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 = (zend_uint *) emalloc(sizeof(int));
+ op_array->refcount = (zend_uint *) emalloc(sizeof(zend_uint));
*op_array->refcount = 1;
op_array->size = initial_ops_size;
op_array->last = 0;