zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=458ab7a5f7f2f872f332d6aed3c8e9bb32a85e05

commit 458ab7a5f7f2f872f332d6aed3c8e9bb32a85e05
Author: Wonki Kim <[email protected]>
Date:   Mon Apr 15 16:24:17 2019 +0900

    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
---
 src/lib/elementary/efl_ui_scroll_manager.c | 4 ++--
 1 file 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 *
 {
    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;
 
 /*

-- 


Reply via email to