File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ typedef struct {
139
139
140
140
typedef struct {
141
141
uint32_t num_types ;
142
- zend_type types [1 ];
142
+ zend_type types [1 ] ZEND_ELEMENT_COUNT ( num_types ) ;
143
143
} zend_type_list ;
144
144
145
145
#define _ZEND_TYPE_EXTRA_FLAGS_SHIFT 25
@@ -374,7 +374,7 @@ struct _zend_string {
374
374
zend_refcounted_h gc ;
375
375
zend_ulong h ; /* hash value */
376
376
size_t len ;
377
- char val [1 ];
377
+ char val [1 ] ZEND_ELEMENT_COUNT ( len ) ;
378
378
};
379
379
380
380
typedef struct _Bucket {
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ typedef struct {
44
44
size_t len ;
45
45
zend_op_array op_array ;
46
46
uint32_t lines ;
47
- uint32_t line [1 ];
47
+ uint32_t line [1 ] ZEND_ELEMENT_COUNT ( lines ) ;
48
48
} phpdbg_file_source ;
49
49
50
50
#endif /* PHPDBG_LIST_H */
You can’t perform that action at this time.
0 commit comments