mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i915: fix himask constant init for 64-bit build
This commit is contained in:
parent
811d8b86eb
commit
87ccb9504d
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ static GLboolean debug_variable_length_prim( struct debug_stream *stream )
|
|||
|
||||
#define BITS( dw, hi, lo, ... ) \
|
||||
do { \
|
||||
unsigned himask = ~0UL >> (31 - (hi)); \
|
||||
unsigned himask = 0xffffffffU >> (31 - (hi)); \
|
||||
PRINTF("\t\t "); \
|
||||
PRINTF(__VA_ARGS__); \
|
||||
PRINTF(": 0x%x\n", ((dw) & himask) >> (lo)); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue