diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
commit | 5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch) | |
tree | 2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /tests/libdimension | |
parent | 7bc2770af08e317b2076540050c68d2de55a11db (diff) | |
download | dimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz |
Don't use awkward (*fptr)() syntax.
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); } |