summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);