mesa: Use typecast in BITFIELD64_BIT macro.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Mar 2011 09:15:30 +0000 (09:15 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Mar 2011 09:15:30 +0000 (09:15 +0000)
commit5fc5820cbc0faf57a48154466b4792294841a690
tree279adcbf6a92a0af7bb61a44d6edf0b2b2dbf7b4
parent11150e4667ce11b056d98244754ce3f2a79599a6
mesa: Use typecast in BITFIELD64_BIT macro.

Unsigned long is 32bit on several platforms (e.g., Windows), yielding
1UL << 32 to be zero.

Note that BITFIELD64_BIT result is often assigned to variables of type
GLbitfield, instead of GLbitfield64. That's probably wrong and should be
addressed in a later change.
src/mesa/main/mtypes.h