Add a type casting for a callback 94/282294/1 tizen tizen_7.0 tizen_7.0_hotfix tizen_7.0_src.m2_release
authorEunyoung Lee <ey928.lee@samsung.com>
Thu, 29 Sep 2022 11:20:56 +0000 (20:20 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Thu, 29 Sep 2022 11:20:56 +0000 (20:20 +0900)
Change-Id: I7ffb63c4b215f74a8f7d5852c12a4613940b9d2b

call-ui/presenters/misc/MotionSensorPresenter.cpp

index 99e18fd7ba96593d31688da9daf96762fc025c37..d8ff4436d1a985959a5ad93278956cf49dd00fc4 100644 (file)
@@ -59,7 +59,7 @@ namespace callui {
                }
 
                res = hand_gesture_start_recognition(m_gesture, HAND_GESTURE_WRIST_UP,
-                               CALLBACK_B(MotionSensorPresenter::onGestureCb),
+                               (hand_gesture_recognition_cb)CALLBACK_B(MotionSensorPresenter::onGestureCb),
                                this);
                if (res != HAND_GESTURE_ERROR_NONE) {
                        LOG_RETURN(RES_FAIL, "gesture_start_recognition() failed. "