forked from enlightenment/efl
efl_ui/selection_manager: be explicit with sizeof() usage
Summary: ensure we don't have issues with portability and type sizes CID 1385141 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10201
This commit is contained in:
parent
4af1df2ea5
commit
e1e7a92af8
|
@ -1254,8 +1254,8 @@ _x11_efl_sel_manager_selection_set(Efl_Ui_Selection_Manager_Data *pd, Efl_Object
|
||||||
sel->active = EINA_TRUE;
|
sel->active = EINA_TRUE;
|
||||||
sel->format = format;
|
sel->format = format;
|
||||||
|
|
||||||
sel->set(xwin, &sel, sizeof(&sel));
|
sel->set(xwin, &sel, sizeof(Sel_Manager_Selection *));
|
||||||
sel_debug("data: %p (%zu)", &sel, sizeof(&sel));
|
sel_debug("data: %p (%zu)", &sel, sizeof(Sel_Manager_Selection *));
|
||||||
|
|
||||||
return _update_sel_lost_list(owner, type, seat_sel);
|
return _update_sel_lost_list(owner, type, seat_sel);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue