seoz pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=57c52c07ad7c503ae1e2632ebc28a81a3e4e7275

commit 57c52c07ad7c503ae1e2632ebc28a81a3e4e7275
Author: Daniel Juyung Seo <[email protected]>
Date:   Sat Aug 23 01:03:51 2014 +0900

    edc_editor: cast pointers to another types correctly.
---
 src/bin/edc_editor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/edc_editor.c b/src/bin/edc_editor.c
index 811ba9e..b97f26e 100644
--- a/src/bin/edc_editor.c
+++ b/src/bin/edc_editor.c
@@ -345,7 +345,7 @@ ctxpopup_preview_dismiss_cb(void *data, Evas_Object *obj,
                             void *event_info EINA_UNUSED)
 {
    edit_data *ed = data;
-   int skip_focus = (int) evas_object_data_get(obj, "continue");
+   int skip_focus = (int)(uintptr_t) evas_object_data_get(obj, "continue");
    evas_object_del(obj);
 
    //Since the ctxpopup will be shown again, Don't revert the focus.
@@ -465,7 +465,7 @@ static void
 ctxpopup_preview_relay_cb(void *data, Evas_Object *obj, void *event_info)
 {
    edit_data *ed = data;
-   int next = (int) event_info;
+   int next = (int)(uintptr_t) event_info;
    preview_img_relay_show(ed, obj, (Eina_Bool) next);
 }
 

-- 


Reply via email to