File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ static zend_always_inline void zend_mm_bitset_reset_range(zend_mm_bitset *bitset
591
591
592
592
if (pos != end ) {
593
593
/* reset bits from "bit" to ZEND_MM_BITSET_LEN-1 */
594
- tmp = ~((Z_L (1 ) << bit ) - 1 );
594
+ tmp = ~((Z_UL (1 ) << bit ) - 1 );
595
595
bitset [pos ++ ] &= ~tmp ;
596
596
while (pos != end ) {
597
597
/* set all bits */
Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ struct _zend_execute_data {
516
516
#define ZEND_CALL_FAKE_CLOSURE (1 << 23)
517
517
#define ZEND_CALL_GENERATOR (1 << 24)
518
518
#define ZEND_CALL_DYNAMIC (1 << 25)
519
- #define ZEND_CALL_SEND_ARG_BY_REF (1 << 31)
519
+ #define ZEND_CALL_SEND_ARG_BY_REF (1u << 31)
520
520
521
521
#define ZEND_CALL_NESTED_FUNCTION (ZEND_CALL_FUNCTION | ZEND_CALL_NESTED)
522
522
#define ZEND_CALL_NESTED_CODE (ZEND_CALL_CODE | ZEND_CALL_NESTED)
Original file line number Diff line number Diff line change 78
78
#endif
79
79
80
80
/* GC_INFO layout */
81
- #define GC_ADDRESS 0x0fffff
82
- #define GC_COLOR 0x300000
81
+ #define GC_ADDRESS 0x0fffffu
82
+ #define GC_COLOR 0x300000u
83
83
84
- #define GC_BLACK 0x000000 /* must be zero */
85
- #define GC_WHITE 0x100000
86
- #define GC_GREY 0x200000
87
- #define GC_PURPLE 0x300000
84
+ #define GC_BLACK 0x000000u /* must be zero */
85
+ #define GC_WHITE 0x100000u
86
+ #define GC_GREY 0x200000u
87
+ #define GC_PURPLE 0x300000u
88
88
89
89
/* GC_INFO access */
90
90
#define GC_REF_ADDRESS (ref ) \
You can’t perform that action at this time.
0 commit comments