mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
mesa: use 1UL for 64-bit unsigned constant for C++
This fixes C++ warnings where BITFIELD64_BIT() is used.
This commit is contained in:
parent
85caea29c1
commit
d029ba9ec0
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue