mesa: use 1UL for 64-bit unsigned constant for C++

This fixes C++ warnings where BITFIELD64_BIT() is used.
This commit is contained in:
Brian Paul 2011-03-15 09:17:46 -06:00
parent 85caea29c1
commit d029ba9ec0

View file

@ -85,7 +85,11 @@
typedef GLuint64 GLbitfield64;
/** Set a single bit */
#ifdef __cplusplus
#define BITFIELD64_BIT(b) (1UL << (b))
#else
#define BITFIELD64_BIT(b) (1ULL << (b))
#endif
/**