diff options
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h index a4dd78845..5be50cb13 100644 --- a/src/macros.h +++ b/src/macros.h @@ -231,7 +231,7 @@ static inline int32 ClampToI32(const int64 a) * @param y The position of the bit to check, started from the LSB * @return True if the bit is set, false else. */ -template<typename T> static inline bool HASBIT(const T x, const uint8 y) +template<typename T> static inline bool HasBit(const T x, const uint8 y) { return (x & ((T)1U << y)) != 0; } |