ecore_x_gesture: Cast maek pointer correctly.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 15 Jan 2014 11:47:49 +0000 (20:47 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 15 Jan 2014 11:48:33 +0000 (20:48 +0900)
Confirmed by the original author of libxgesture, Sungjin Park.

src/lib/ecore_x/xlib/ecore_x_gesture.c

index 2c8f311..15a9efd 100644 (file)
@@ -73,7 +73,7 @@ ecore_x_gesture_events_selected_get(Ecore_X_Window win)
      return ECORE_X_GESTURE_EVENT_MASK_NONE;
 
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
-   if (GestureSuccess != XGestureGetSelectedEvents(_ecore_x_disp, win, &mask))
+   if (GestureSuccess != XGestureGetSelectedEvents(_ecore_x_disp, win, (Mask *)&mask))
      mask = ECORE_X_GESTURE_EVENT_MASK_NONE;
    if (_ecore_xlib_sync) ecore_x_sync();