Skip to content

Commit 0d62c3f

Browse files
committed
Zend: Convert _zend_op_array.cache_size field to uint32_t
1 parent f5c7019 commit 0d62c3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_compile.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,9 @@ struct _zend_op_array {
529529
const zend_property_info *prop_info; /* The corresponding prop_info if this is a hook. */
530530
/* END of common elements */
531531

532-
int cache_size; /* number of run_time_cache_slots * sizeof(void*) */
533-
int last_var; /* number of CV variables */
534-
uint32_t last; /* number of opcodes */
532+
uint32_t cache_size; /* number of run_time_cache_slots * sizeof(void*) */
533+
int last_var; /* number of CV variables */
534+
uint32_t last; /* number of opcodes */
535535

536536
zend_op *opcodes;
537537
ZEND_MAP_PTR_DEF(HashTable *, static_variables_ptr);

0 commit comments

Comments
 (0)