@@ -197,7 +197,7 @@ typedef struct _zend_oparray_context {
197
197
struct _zend_oparray_context * prev ;
198
198
zend_op_array * op_array ;
199
199
uint32_t opcodes_size ;
200
- int vars_size ;
200
+ uint32_t vars_size ;
201
201
int literals_size ;
202
202
uint32_t fast_call_var ;
203
203
uint32_t try_catch_offset ;
@@ -529,9 +529,9 @@ struct _zend_op_array {
529
529
const zend_property_info * prop_info ; /* The corresponding prop_info if this is a hook. */
530
530
/* END of common elements */
531
531
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
+ uint32_t last_var ; /* number of CV variables */
534
+ uint32_t last ; /* number of opcodes */
535
535
536
536
zend_op * opcodes ;
537
537
ZEND_MAP_PTR_DEF (HashTable * , static_variables_ptr );
@@ -695,16 +695,16 @@ ZEND_STATIC_ASSERT(ZEND_MM_ALIGNED_SIZE(sizeof(zval)) == sizeof(zval),
695
695
"zval must be aligned by ZEND_MM_ALIGNMENT" );
696
696
/* A number of call frame slots (zvals) reserved for zend_execute_data. */
697
697
#define ZEND_CALL_FRAME_SLOT \
698
- ((int)(( sizeof(zend_execute_data) + sizeof(zval) - 1) / sizeof(zval) ))
698
+ ((sizeof(zend_execute_data) + sizeof(zval) - 1) / sizeof(zval))
699
699
700
700
#define ZEND_CALL_VAR (call , n ) \
701
- ((zval*)(((char*)(call)) + ((int)(n) )))
701
+ ((zval*)(((char*)(call)) + (n )))
702
702
703
703
#define ZEND_CALL_VAR_NUM (call , n ) \
704
- (((zval*)(call)) + (ZEND_CALL_FRAME_SLOT + ((int)(n) )))
704
+ (((zval*)(call)) + (ZEND_CALL_FRAME_SLOT + (n )))
705
705
706
706
#define ZEND_CALL_ARG (call , n ) \
707
- ZEND_CALL_VAR_NUM(call, ((int)(n) ) - 1)
707
+ ZEND_CALL_VAR_NUM(call, (n ) - 1)
708
708
709
709
#define EX (element ) ((execute_data)->element)
710
710
0 commit comments