diff options
-rw-r--r-- | src/tests/eina/eina_test_cow.c | 6 |
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) | |||
81 | (void) _eina_test_log; | 81 | (void) _eina_test_log; |
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | eina_cow_free(cow, cur); | 84 | eina_cow_free(cow, (const Eina_Cow_Data**) &cur); |
85 | 85 | ||
86 | eina_cow_del(cow); | 86 | eina_cow_del(cow); |
87 | } | 87 | } |
@@ -137,8 +137,8 @@ START_TEST(eina_cow) | |||
137 | fail_if(eina_cow_gc(cow) == EINA_FALSE); | 137 | fail_if(eina_cow_gc(cow) == EINA_FALSE); |
138 | fail_if(cur != prev); | 138 | fail_if(cur != prev); |
139 | 139 | ||
140 | eina_cow_free(cow, (const Eina_Cow_Data*) cur); | 140 | eina_cow_free(cow, (const Eina_Cow_Data**) &cur); |
141 | eina_cow_free(cow, (const Eina_Cow_Data*) prev); | 141 | eina_cow_free(cow, (const Eina_Cow_Data**) &prev); |
142 | 142 | ||
143 | eina_cow_del(cow); | 143 | eina_cow_del(cow); |
144 | } | 144 | } |