summaryrefslogtreecommitdiff
path: root/src/tests/eio/eio_model_test_file.c
diff options
context:
space:
mode:
authorLarry Jr <larry.olj@gmail.com>2016-06-05 20:31:21 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-05 22:08:06 -0300
commite14042eabe8821acbb85cb46eb2eb3fbe59a4896 (patch)
tree2a05588bc7dc3db18220a7ac38f924ce4e560749 /src/tests/eio/eio_model_test_file.c
parent217f3ce842cba43b51d26bf518ecb7c432751ded (diff)
eio: Fix Eio_Model promise accessor
Diffstat (limited to '')
-rw-r--r--src/tests/eio/eio_model_test_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eio/eio_model_test_file.c b/src/tests/eio/eio_model_test_file.c
index 2c0c712263..5ed7d7bd22 100644
--- a/src/tests/eio/eio_model_test_file.c
+++ b/src/tests/eio/eio_model_test_file.c
@@ -69,13 +69,13 @@ promise_then_count(void *data EINA_UNUSED, void *p)
69static void 69static void
70promise_then_accessor(void *data EINA_UNUSED, void* p) 70promise_then_accessor(void *data EINA_UNUSED, void* p)
71{ 71{
72 Eina_Accessor **accessor = (Eina_Accessor**)p; 72 Eina_Accessor *accessor = p;
73 ck_assert_ptr_ne(accessor, NULL); 73 ck_assert_ptr_ne(accessor, NULL);
74 printf("efl_model_loaded accessor %p\n", *accessor); fflush(stdout); 74 printf("efl_model_loaded accessor %p\n", accessor); fflush(stdout);
75 75
76 Eo* child; 76 Eo* child;
77 int i = 0; 77 int i = 0;
78 EINA_ACCESSOR_FOREACH(*accessor, i, child) 78 EINA_ACCESSOR_FOREACH(accessor, i, child)
79 { 79 {
80 printf("efl_model_loaded child: %d pointer %p\n", i, child); 80 printf("efl_model_loaded child: %d pointer %p\n", i, child);
81 } 81 }