Commit e57689c6 authored by Brian Paul's avatar Brian Paul

mesa: use BITFIELD64_BIT() macro

parent 7a156476
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment