From e57689c6badee8521691966ff6aa56648a474ce9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 2 Jun 2010 14:48:27 -0600 Subject: [PATCH] mesa: use BITFIELD64_BIT() macro --- src/mesa/shader/prog_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index f66c240ce78..05aae83f0c1 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -876,7 +876,7 @@ binary(GLbitfield64 val) static char buf[80]; GLint i, len = 0; for (i = 63; i >= 0; --i) { - if (val & (1ULL << i)) + if (val & (BITFIELD64_BIT(i))) buf[len++] = '1'; else if (len > 0 || i == 0) buf[len++] = '0'; -- 2.30.2