Commit dd3df0b6 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

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's avatarPovilas Kanapickas <povilas@radix.lt>
parent f036a639
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment