]> granicus.if.org Git - php/commitdiff
fix cast
authorThies C. Arntzen <thies@php.net>
Sun, 26 Mar 2000 14:25:20 +0000 (14:25 +0000)
committerThies C. Arntzen <thies@php.net>
Sun, 26 Mar 2000 14:25:20 +0000 (14:25 +0000)
Zend/zend_opcode.c

index faaa54f0d02d2c831202dce99361ee8155301e71..74d42cfceb063abbd6bdefa7e4d2315d28a04878 100644 (file)
@@ -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;