summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-11-04 12:47:12 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-04 12:47:12 +0900
commitbe3afd8f4b778e0b0be9be43265674fe9a1ba847 (patch)
treea6a3a058c35a1e7f7ec0e2fbcd50ea35a1922405
parent440471e5996fbb3df8b1edd1e285427bd55070c7 (diff)
downloadefl-be3afd8f4b778e0b0be9be43265674fe9a1ba847.tar.gz
eina: update Eina_Cow test to latest API change.
-rw-r--r--src/tests/eina/eina_test_cow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eina/eina_test_cow.c b/src/tests/eina/eina_test_cow.c
index 7967e0ee33..a4e1422e56 100644
--- a/src/tests/eina/eina_test_cow.c
+++ b/src/tests/eina/eina_test_cow.c
@@ -81,7 +81,7 @@ START_TEST(eina_cow_bad)
(void) _eina_test_log;
#endif
- eina_cow_free(cow, cur);
+ eina_cow_free(cow, (const Eina_Cow_Data**) &cur);
eina_cow_del(cow);
}
@@ -137,8 +137,8 @@ START_TEST(eina_cow)
fail_if(eina_cow_gc(cow) == EINA_FALSE);
fail_if(cur != prev);
- eina_cow_free(cow, (const Eina_Cow_Data*) cur);
- eina_cow_free(cow, (const Eina_Cow_Data*) prev);
+ eina_cow_free(cow, (const Eina_Cow_Data**) &cur);
+ eina_cow_free(cow, (const Eina_Cow_Data**) &prev);
eina_cow_del(cow);
}