diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libinput-util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libinput-util.h b/src/libinput-util.h index 522c19cf..66748eac 100644 --- a/src/libinput-util.h +++ b/src/libinput-util.h @@ -148,19 +148,19 @@ msleep(unsigned int ms) static inline int long_bit_is_set(const unsigned long *array, int bit) { - return !!(array[bit / LONG_BITS] & (1LL << (bit % LONG_BITS))); + return !!(array[bit / LONG_BITS] & (1LL << (bit % LONG_BITS))); } static inline void long_set_bit(unsigned long *array, int bit) { - array[bit / LONG_BITS] |= (1LL << (bit % LONG_BITS)); + array[bit / LONG_BITS] |= (1LL << (bit % LONG_BITS)); } static inline void long_clear_bit(unsigned long *array, int bit) { - array[bit / LONG_BITS] &= ~(1LL << (bit % LONG_BITS)); + array[bit / LONG_BITS] &= ~(1LL << (bit % LONG_BITS)); } static inline void |