aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Karcher <[email protected]>2011-12-11 13:24:10 -0800
committerStephane Marchesin <[email protected]>2011-12-11 13:24:10 -0800
commit592323de1ea5b9e5eab8b66690c8aecc6901c5de (patch)
tree26ab4f5d7e4c70df6ce08dbbf2f0cc9100a26f6e
parent13632e64a0da67149d81bef2da42f159f8ddb1ea (diff)
i915g: fix debug dump on 64 bit systems
-rw-r--r--src/gallium/drivers/i915/i915_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_debug.c b/src/gallium/drivers/i915/i915_debug.c
index 295c47e58c2..b6c442dff72 100644
--- a/src/gallium/drivers/i915/i915_debug.c
+++ b/src/gallium/drivers/i915/i915_debug.c
@@ -232,7 +232,7 @@ BITS(
... )
{
va_list args;
- unsigned himask = ~0UL >> (31 - (hi));
+ unsigned himask = 0xFFFFFFFFUL >> (31 - (hi));
PRINTF(stream, "\t\t ");