[Mesa-dev] [PATCH] [i915g] fix debug dump on 64 bit systems
Stéphane Marchesin
stephane.marchesin at gmail.com
Sun Dec 11 13:22:48 PST 2011
Applied, thanks!
Stéphane
On Mon, Dec 5, 2011 at 13:02, Michael Karcher
<freedesktop-bugzilla at mkarcher.dialup.fu-berlin.de> wrote:
> Signed-off-by: Michael Karcher <freedesktop-bugzilla at mkarcher.dialup.fu-berlin.de>
> ---
> 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 ");
>
> --
> 1.7.7.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list