summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-03 18:17:25 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-03 18:17:55 +0200
commitf306d2b879688e952db3ab955ddc73d65a7f9fee (patch)
tree642cc9b284f5a1944a9d6a52a6aacc079e6a67e4 /src/tests
parent99754341e757fe948c3eefe57bc4c09f4521dd52 (diff)
tests: use void cast with util callback
Summary: fixes a compiler warning Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9805
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/spec/efl_test_single_selectable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/elementary/spec/efl_test_single_selectable.c b/src/tests/elementary/spec/efl_test_single_selectable.c
index 6639cc9c66..35cf343d24 100644
--- a/src/tests/elementary/spec/efl_test_single_selectable.c
+++ b/src/tests/elementary/spec/efl_test_single_selectable.c
@@ -37,7 +37,7 @@ EFL_START_TEST(last_selectable_check)
37{ 37{
38 int c = 0; 38 int c = 0;
39 39
40 efl_event_callback_add(widget, EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED, (Efl_Event_Cb) event_callback_single_call_int_data, &c); 40 efl_event_callback_add(widget, EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED, (void*) event_callback_single_call_int_data, &c);
41 efl_event_callback_add(widget, EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED, event_callback_that_quits_the_main_loop_when_called, NULL); 41 efl_event_callback_add(widget, EFL_UI_SINGLE_SELECTABLE_EVENT_SELECTION_CHANGED, event_callback_that_quits_the_main_loop_when_called, NULL);
42 42
43 Eo *c1 = efl_pack_content_get(widget, 0); 43 Eo *c1 = efl_pack_content_get(widget, 0);