scroll_mgr: fix a type for some vars to be portable

Summary:
char type can be singed or unsinged according to the standard.
variables for keeping sign value should be sign, and that is the reason
why this patch modify a type for some variables explictly.

Reviewers: eagleeye

Reviewed By: eagleeye

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8604
This commit is contained in:
Wonki Kim 2019-04-15 16:24:17 +09:00 committed by 김호상/Tizen Platform Lab(SR)/Engineer/삼성전자
parent 8c45aca05e
commit f944f91407
1 changed files with 2 additions and 2 deletions

View File

@ -1023,7 +1023,7 @@ _efl_ui_scroll_manager_mouse_up_event_momentum_eval(Efl_Ui_Scroll_Manager_Data *
{
double t, at;
Evas_Coord dx, dy, ax, ay, vel;
char sdx, sdy;
signed char sdx, sdy;
t = ev->timestamp / 1000.0;
@ -1294,7 +1294,7 @@ _scroll_manager_momentum_animator_add(Efl_Ui_Scroll_Manager_Data *sd, double vx,
#define INVERSE_MASS 1
#define ACCEL (FRICTION * INVERSE_MASS)
double dur = 0.0;
char sdx = 0, sdy = 0;
signed char sdx = 0, sdy = 0;
Evas_Coord dstx = 0, dsty = 0;
/*