i915: fix himask constant init for 64-bit build

This commit is contained in:
Guillaume Melquiond 2008-09-13 14:25:02 -06:00 committed by Brian Paul
parent 811d8b86eb
commit 87ccb9504d

View file

@ -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)); \