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:
Mike Blumenkrantz 2019-10-09 13:19:36 -04:00
parent 4af1df2ea5
commit e1e7a92af8
1 changed files with 2 additions and 2 deletions

View File

@ -1254,8 +1254,8 @@ _x11_efl_sel_manager_selection_set(Efl_Ui_Selection_Manager_Data *pd, Efl_Object
sel->active = EINA_TRUE;
sel->format = format;
sel->set(xwin, &sel, sizeof(&sel));
sel_debug("data: %p (%zu)", &sel, sizeof(&sel));
sel->set(xwin, &sel, sizeof(Sel_Manager_Selection *));
sel_debug("data: %p (%zu)", &sel, sizeof(Sel_Manager_Selection *));
return _update_sel_lost_list(owner, type, seat_sel);
}