Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
struct touch *touch;
double x, y;
- if (slot == -1 || slot >= ARRAY_LENGTH(w->touches))
+ if (slot == -1 || slot >= (int) ARRAY_LENGTH(w->touches))
return;
touch = &w->touches[slot];
close(fd);
}
-const static struct libinput_interface interface = {
+static const struct libinput_interface interface = {
.open_restricted = open_restricted,
.close_restricted = close_restricted,
};