aboutsummaryrefslogtreecommitdiffstats
path: root/src/gestures.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gestures.c')
-rw-r--r--src/gestures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gestures.c b/src/gestures.c
index 2dafe79..0cc2e0b 100644
--- a/src/gestures.c
+++ b/src/gestures.c
@@ -38,7 +38,7 @@ static const int BUTTON_HOLD_MS = 200;
*/
static void extract_buttons(struct Gestures *gs, struct MTouch* mt)
{
- unsigned btdata = mt->state.button & BITONES(DIM_BUTTON);
+ bitmask_t btdata = mt->state.button & BITONES(DIM_BUTTON);
int npoint = bitcount(mt->mem.pointing);
if (mt->state.button == BITMASK(MT_BUTTON_LEFT)) {
if (npoint == 2)