summaryrefslogtreecommitdiff
path: root/src/libinput-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libinput-util.h')
-rw-r--r--src/libinput-util.h6
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