Evas gesture: do not use abs when dealing with double, use fabs instead
authorVincent Torri <vincent.torri@gmail.com>
Mon, 27 May 2019 06:56:41 +0000 (15:56 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:53 +0000 (17:17 +0900)
commit53d617276e45da5617e6f49138154bc4f2f7e97d
tree80a2bcb29fe33868fca6eb2472ec6ddb0c066c0a
parent6a6e9c1d9dae0fcae49aa6c848829aa39ef7e176
Evas gesture: do not use abs when dealing with double, use fabs instead

Summary: clang reports a warning here. We compare the result of abs (casting to an int, returning an int) to a double value. Hence we should use fabs instead

Test Plan: compilation

Reviewers: Jaehyun, Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9024
src/lib/evas/gesture/efl_canvas_gesture_recognizer_momentum.c