diff options
Diffstat (limited to 'tests/libdimension')
-rw-r--r-- | tests/libdimension/list.c | 2 | ||||
-rw-r--r-- | tests/libdimension/prtree.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libdimension/list.c b/tests/libdimension/list.c index 49f2cf7..e70d943 100644 --- a/tests/libdimension/list.c +++ b/tests/libdimension/list.c @@ -56,7 +56,7 @@ main(void) } /* Ensure that sorting works */ - dmnsn_list_sort(list, &dmnsn_comparator); + dmnsn_list_sort(list, dmnsn_comparator); for (dmnsn_list_iterator *i = dmnsn_list_first(list); i != dmnsn_list_last(list); i = dmnsn_list_next(i)) diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c index 0af358b..da69b97 100644 --- a/tests/libdimension/prtree.c +++ b/tests/libdimension/prtree.c @@ -67,7 +67,7 @@ main(void) for (size_t i = 0; i < nobjects; ++i) { dmnsn_object *object = dmnsn_new_object(); dmnsn_randomize_bounding_box(object); - object->intersection_fn = &dmnsn_fake_intersection_fn; + object->intersection_fn = dmnsn_fake_intersection_fn; dmnsn_initialize_object(object); dmnsn_array_push(scene->objects, &object); } |