zmike pushed a commit to branch efl-1.22.

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

commit b8904f38a5ca500a8161e79c0c52afd7b1e34d67
Author: Yeongjong Lee <yj34....@samsung.com>
Date:   Wed Apr 24 21:09:53 2019 +0900

    ui.relative_layout: fix incorrect type casting
    
    Summary: `temph` can be double type.
    
    Reviewers: Jaehyun_Cho
    
    Reviewed By: Jaehyun_Cho
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D8695
---
 src/lib/elementary/efl_ui_relative_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_relative_layout.c 
b/src/lib/elementary/efl_ui_relative_layout.c
index 827b3d601c..491c52f8af 100644
--- a/src/lib/elementary/efl_ui_relative_layout.c
+++ b/src/lib/elementary/efl_ui_relative_layout.c
@@ -125,7 +125,7 @@ static void
 _child_aspect_calc(Efl_Ui_Relative_Layout_Child *child, Eina_Bool axis)
 {
    Efl_Ui_Relative_Layout_Calc *calc = &child->calc;
-   int temph;
+   double temph;
 
    if ((calc->aspect[0] <= 0) || (calc->aspect[1] <= 0))
      {

-- 


Reply via email to