summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2021-05-30 19:56:18 +0300
committerPovilas Kanapickas <povilas@radix.lt>2021-05-30 20:32:13 +0300
commitdd3df0b61499fa231a5a82e14d17bf37ce917d1d (patch)
tree67f813527262f424c89aa07ae2514f4f8b288c77
parentf036a6399a0bb1808dc82f7a91a1ae5a7e57691e (diff)
downloadxorg-lib-libXi-dd3df0b61499fa231a5a82e14d17bf37ce917d1d.tar.gz
Fix compile error that slipped through
Lesson for the future: make sure the private environment (e.g convenience scripts) don't add changes where they are not expected. In my case I'm building and installing Debian packages straigth away. And one of the extra commits for Debian support had a change that had to go to the libXi repository. The development snapshot 1.7.99.1 has thus not been released (only a commit with the version bump was pushed). Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
-rw-r--r--src/XExtInt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 0f2b0dd..2e2a510 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -1047,7 +1047,7 @@ XInputWireToCookie(
case XI_GesturePinchUpdate:
case XI_GesturePinchEnd:
*cookie = *(XGenericEventCookie*)save;
- if (!wireToPinchEvent((xXIGesturePinchEndEvent*)event, cookie))
+ if (!wireToPinchEvent((xXIGesturePinchEvent*)event, cookie))
{
printf("XInputWireToCookie: CONVERSION FAILURE! evtype=%d\n",
ge->evtype);
@@ -1058,7 +1058,7 @@ XInputWireToCookie(
case XI_GestureSwipeUpdate:
case XI_GestureSwipeEnd:
*cookie = *(XGenericEventCookie*)save;
- if (!wireToSwipeEvent((xXIGestureSwipeEndEvent*)event, cookie))
+ if (!wireToSwipeEvent((xXIGestureSwipeEvent*)event, cookie))
{
printf("XInputWireToCookie: CONVERSION FAILURE! evtype=%d\n",
ge->evtype);