summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2019-04-15 16:24:17 +0900
committer김호상/Tizen Platform Lab(SR)/Engineer/삼성전자 <CORP\hosang12.kim@hosang.tn.corp.samsungelectronics.net>2019-04-15 16:25:29 +0900
commitf944f91407d3bd3d022f80c86479ca25478fee4a (patch)
tree1a7ee850ae1dfc7a47fc2367a2337db7a1166d0a
parent8c45aca05ed30da51972ef3122a4f0d7e7a94933 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_scroll_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_scroll_manager.c b/src/lib/elementary/efl_ui_scroll_manager.c
index 98da2fd830..e58aa874fb 100644
--- a/src/lib/elementary/efl_ui_scroll_manager.c
+++ b/src/lib/elementary/efl_ui_scroll_manager.c
@@ -1023,7 +1023,7 @@ _efl_ui_scroll_manager_mouse_up_event_momentum_eval(Efl_Ui_Scroll_Manager_Data *
1023{ 1023{
1024 double t, at; 1024 double t, at;
1025 Evas_Coord dx, dy, ax, ay, vel; 1025 Evas_Coord dx, dy, ax, ay, vel;
1026 char sdx, sdy; 1026 signed char sdx, sdy;
1027 1027
1028 t = ev->timestamp / 1000.0; 1028 t = ev->timestamp / 1000.0;
1029 1029
@@ -1294,7 +1294,7 @@ _scroll_manager_momentum_animator_add(Efl_Ui_Scroll_Manager_Data *sd, double vx,
1294#define INVERSE_MASS 1 1294#define INVERSE_MASS 1
1295#define ACCEL (FRICTION * INVERSE_MASS) 1295#define ACCEL (FRICTION * INVERSE_MASS)
1296 double dur = 0.0; 1296 double dur = 0.0;
1297 char sdx = 0, sdy = 0; 1297 signed char sdx = 0, sdy = 0;
1298 Evas_Coord dstx = 0, dsty = 0; 1298 Evas_Coord dstx = 0, dsty = 0;
1299 1299
1300/* 1300/*