From: Cedric Bail Date: Mon, 4 Nov 2013 03:47:12 +0000 (+0900) Subject: eina: update Eina_Cow test to latest API change. X-Git-Tag: v1.8.0-alpha1~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be3afd8f4b778e0b0be9be43265674fe9a1ba847;p=platform%2Fupstream%2Fefl.git eina: update Eina_Cow test to latest API change. --- diff --git a/src/tests/eina/eina_test_cow.c b/src/tests/eina/eina_test_cow.c index 7967e0e..a4e1422 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); }