From: Brian Paul Date: Wed, 2 Jun 2010 20:48:27 +0000 (-0600) Subject: mesa: use BITFIELD64_BIT() macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e57689c6badee8521691966ff6aa56648a474ce9;p=mesa.git mesa: use BITFIELD64_BIT() macro --- 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';