Mesa (master): i915g: fix debug dump on 64 bit systems
Stephane Marchesin
marcheu at kemper.freedesktop.org
Sun Dec 11 21:24:52 UTC 2011
Module: Mesa
Branch: master
Commit: 592323de1ea5b9e5eab8b66690c8aecc6901c5de
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=592323de1ea5b9e5eab8b66690c8aecc6901c5de
Author: Michael Karcher <freedesktop-bugzilla at mkarcher.dialup.fu-berlin.de>
Date: Sun Dec 11 13:24:10 2011 -0800
i915g: fix debug dump on 64 bit systems
---
src/gallium/drivers/i915/i915_debug.c | 2 +-
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 295c47e..b6c442d 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 ");
More information about the mesa-commit
mailing list