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:
parent
8c45aca05e
commit
f944f91407
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue