summaryrefslogtreecommitdiffstats
path: root/test/sorted_array_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-18 17:24:02 +0200
committerDavid Robillard <d@drobilla.net>2019-10-18 20:15:53 +0200
commit2a3693d151b38fa912d4e1f83cc090194ebe215c (patch)
treef12df6d8fde9d1be9abd0f7fc816e8459bd204ad /test/sorted_array_test.c
parent813d202a306f1e7f582ad00da78f5ff5a94a4680 (diff)
downloadzix-2a3693d151b38fa912d4e1f83cc090194ebe215c.tar.gz
zix-2a3693d151b38fa912d4e1f83cc090194ebe215c.tar.bz2
zix-2a3693d151b38fa912d4e1f83cc090194ebe215c.zip
Fix SortedArray
Diffstat (limited to 'test/sorted_array_test.c')
-rw-r--r--test/sorted_array_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sorted_array_test.c b/test/sorted_array_test.c
index 519ccb2..ad52db5 100644
--- a/test/sorted_array_test.c
+++ b/test/sorted_array_test.c
@@ -39,7 +39,7 @@ int_cmp(const void* a, const void* b, ZIX_UNUSED const void* user_data)
return ia - ib;
}
-static uintptr_t
+static intptr_t
ith_elem(int test_num, unsigned n_elems, int i)
{
switch (test_num % 3) {