mesa: use 1UL for 64-bit unsigned constant for C++
This fixes C++ warnings where BITFIELD64_BIT() is used.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user