eina: update Eina_Cow test to latest API change.

This commit is contained in:
Cedric Bail 2013-11-04 12:47:12 +09:00
parent 440471e599
commit be3afd8f4b
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}