forked from enlightenment/enventor
edc_editor: cast pointers to another types correctly.
This commit is contained in:
parent
3a7c6caee6
commit
57c52c07ad
|
@ -345,7 +345,7 @@ ctxpopup_preview_dismiss_cb(void *data, Evas_Object *obj,
|
||||||
void *event_info EINA_UNUSED)
|
void *event_info EINA_UNUSED)
|
||||||
{
|
{
|
||||||
edit_data *ed = data;
|
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);
|
evas_object_del(obj);
|
||||||
|
|
||||||
//Since the ctxpopup will be shown again, Don't revert the focus.
|
//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)
|
ctxpopup_preview_relay_cb(void *data, Evas_Object *obj, void *event_info)
|
||||||
{
|
{
|
||||||
edit_data *ed = data;
|
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);
|
preview_img_relay_show(ed, obj, (Eina_Bool) next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue