SmartAudio/package/libs/libinput/patches/002-static_assert.patch

15 lines
388 B
Diff

--- a/src/evdev-tablet.c
+++ b/src/evdev-tablet.c
@@ -1155,9 +1155,11 @@ static void
tablet_mark_all_axes_changed(struct tablet_dispatch *tablet,
struct libinput_tablet_tool *tool)
{
+#if 0
static_assert(sizeof(tablet->changed_axes) ==
sizeof(tool->axis_caps),
"Mismatching array sizes");
+#endif
memcpy(tablet->changed_axes,
tool->axis_caps,