Skip to content

Commit 2039a21

Browse files
committed
Zend: Change _zend_op_array.cache_size to be of type uint32_t
All code assumes this already and this removes various signed/unsigned int mismatches
1 parent 0eea5d3 commit 2039a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ struct _zend_op_array {
523523
const zend_property_info *prop_info; /* The corresponding prop_info if this is a hook. */
524524
/* END of common elements */
525525

526-
int cache_size; /* number of run_time_cache_slots * sizeof(void*) */
526+
uint32_t cache_size; /* number of run_time_cache_slots * sizeof(void*) */
527527
int last_var; /* number of CV variables */
528528
uint32_t last; /* number of opcodes */
529529

0 commit comments

Comments
 (0)