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
591591
592592if (pos != end ) {
593593/* reset bits from "bit" to ZEND_MM_BITSET_LEN-1 */
594- tmp = ~((Z_L (1 ) << bit ) - 1 );
594+ tmp = ~((Z_UL (1 ) << bit ) - 1 );
595595bitset [pos ++ ] &= ~tmp ;
596596while (pos != end ) {
597597/* set all bits */
Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ struct _zend_execute_data {
516516#define ZEND_CALL_FAKE_CLOSURE (1 << 23)
517517#define ZEND_CALL_GENERATOR (1 << 24)
518518#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)
520520
521521#define ZEND_CALL_NESTED_FUNCTION (ZEND_CALL_FUNCTION | ZEND_CALL_NESTED)
522522#define ZEND_CALL_NESTED_CODE (ZEND_CALL_CODE | ZEND_CALL_NESTED)
Original file line number Diff line number Diff line change 7878#endif
7979
8080/* GC_INFO layout */
81- #define GC_ADDRESS 0x0fffff
82- #define GC_COLOR 0x300000
81+ #define GC_ADDRESS 0x0fffffu
82+ #define GC_COLOR 0x300000u
8383
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
8888
8989/* GC_INFO access */
9090#define GC_REF_ADDRESS (ref ) \
You can’t perform that action at this time.
0 commit comments