yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=bdac63a5d83e07df92ebc70e3e888500e43dd28e

commit bdac63a5d83e07df92ebc70e3e888500e43dd28e
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Wed Nov 25 16:50:02 2015 +0200

    Fix warnings introduced in prev commit
---
 src/bin/gui/editor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index fc97e8c..587f7dd 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -3618,7 +3618,7 @@ _field_update_from_itemview(void *data EINA_UNUSED, Eo 
*obj, const Eo_Event_Desc
 
    /* Here we need to create memento, but this memento should be last.
     * So ref prev item. */
-   item_container_item_ref(wit);
+   item_container_item_ref((Item_Container_Item *) wit);
 
    /* Change item in Dep_Data*/
    item_container_item_set_on_id(item_container_item_eid_get(wit), new_wit);
@@ -3716,7 +3716,7 @@ _field_update_from_itemview(void *data EINA_UNUSED, Eo 
*obj, const Eo_Event_Desc
      }
    /* Create memento and unref prev item*/
    memento_command_add(wdg_eid_get(wdg), MEMENTO_ITEM_CONTAINER_ITEM, (void *) 
wit, new_wit);
-   item_container_item_unref(wit);
+   item_container_item_unref((Item_Container_Item *) wit);
    context_memento_finalize(_active_context_get());
    return EO_CALLBACK_CONTINUE;
 }

-- 


Reply via email to