summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-09 13:19:36 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-09 13:19:36 -0400
commitb8fab9b8dd06599255d151ff0f1d84e35a5c222a (patch)
tree8e9e27b076456c64af60d989714baf8992397759 /src/lib/elementary
parentfb7c35269ccc754f257e4fac98d228286ac4f43b (diff)
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
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_selection_manager.c4
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 3d8e311..3c8ab8d 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
1254 sel->active = EINA_TRUE; 1254 sel->active = EINA_TRUE;
1255 sel->format = format; 1255 sel->format = format;
1256 1256
1257 sel->set(xwin, &sel, sizeof(&sel)); 1257 sel->set(xwin, &sel, sizeof(Sel_Manager_Selection *));
1258 sel_debug("data: %p (%zu)", &sel, sizeof(&sel)); 1258 sel_debug("data: %p (%zu)", &sel, sizeof(Sel_Manager_Selection *));
1259 1259
1260 return _update_sel_lost_list(owner, type, seat_sel); 1260 return _update_sel_lost_list(owner, type, seat_sel);
1261} 1261}