diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-10-09 13:19:36 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-10-09 13:19:36 -0400 |
commit | b8fab9b8dd06599255d151ff0f1d84e35a5c222a (patch) | |
tree | 8e9e27b076456c64af60d989714baf8992397759 | |
parent | fb7c35269ccc754f257e4fac98d228286ac4f43b (diff) | |
download | efl-b8fab9b8dd06599255d151ff0f1d84e35a5c222a.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_selection_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_selection_manager.c b/src/lib/elementary/efl_ui_selection_manager.c index 3d8e311580..3c8ab8d9ab 100644 --- a/src/lib/elementary/efl_ui_selection_manager.c +++ b/src/lib/elementary/efl_ui_selection_manager.c @@ -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); } |