summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_print.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-06-02 14:48:27 -0600
committerBrian Paul <[email protected]>2010-06-02 15:34:49 -0600
commite57689c6badee8521691966ff6aa56648a474ce9 (patch)
tree1d47043a968704629a4c4d5a565860785a927d68 /src/mesa/shader/prog_print.c
parent7a156476e4efee8b507461f0af0d867c56723e6e (diff)
mesa: use BITFIELD64_BIT() macro
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r--src/mesa/shader/prog_print.c2
1 files changed, 1 insertions, 1 deletions
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';