raster pushed a commit to branch master.

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

commit a492851aed99d63240bef7cad170c53dad739b55
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Nov 8 15:09:16 2018 +0000

    edje cc - warn - use correct free prorotype for has free func
---
 src/bin/edje/edje_cc_handlers.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 17b3ce3768..3d3b23b8c6 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -15144,6 +15144,12 @@ ob_collections_group_parts_part_description_link(void)
    current_program->value = current_desc->state.value;
 }
 
+static void
+list_free(void *list)
+{
+   eina_list_free(list);
+}
+
 /**
     @page edcref
     @property
@@ -15184,7 +15190,7 @@ 
st_collections_group_parts_part_description_link_base(void)
         eina_hash_list_remove(pcp->link_hash, buf, el);
      }
    if (!pcp->link_hash)
-     pcp->link_hash = 
eina_hash_string_superfast_new((Eina_Free_Cb)eina_list_free);
+     pcp->link_hash = eina_hash_string_superfast_new(list_free);
    free((void *)current_program->signal);
    current_program->signal = name;
    if (get_arg_count() == 2)

-- 


Reply via email to