discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=71f77206697bf6a6d856fe43b901c7dcb932e928

commit 71f77206697bf6a6d856fe43b901c7dcb932e928
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Wed Oct 14 14:02:07 2015 -0400

     e_flowlayout: typecast return value to int
    
    Summary:
    return value is small enough, so there is no risk in casting from unsigned 
int to signed int.
    
    CID: 1267211
    
    Reviewers: devilhorns, raster, cedric, zmike
    
    Subscribers: seoz, sachin.dev
    
    Differential Revision: https://phab.enlightenment.org/D3179
---
 src/bin/e_flowlayout.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_flowlayout.c b/src/bin/e_flowlayout.c
index 1463164..c1b0a4e 100644
--- a/src/bin/e_flowlayout.c
+++ b/src/bin/e_flowlayout.c
@@ -233,7 +233,7 @@ e_flowlayout_pack_end(Evas_Object *obj, Evas_Object *child)
    sd->items = eina_list_append(sd->items, child);
    sd->changed = 1;
    if (sd->frozen <= 0) _e_flowlayout_smart_reconfigure(sd);
-   return eina_list_count(sd->items) - 1;
+   return (int)(eina_list_count(sd->items) - 1);
 }
 
 E_API int
@@ -290,7 +290,7 @@ e_flowlayout_pack_count_get(Evas_Object *obj)
    if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERR(0);
    sd = evas_object_smart_data_get(obj);
    if (!sd) return 0;
-   return eina_list_count(sd->items);
+   return (int)eina_list_count(sd->items);
 }
 
 E_API Evas_Object *

-- 


Reply via email to