summaryrefslogtreecommitdiffstats
path: root/test/sorted_array_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-18 17:06:14 +0200
committerDavid Robillard <d@drobilla.net>2019-10-18 17:07:56 +0200
commit85512457fbe29aa161417903feaec74f5e7c15c5 (patch)
tree03b69a649635b8533db8aacf2931907e5ac6b1a3 /test/sorted_array_test.c
parentced30ed4b498c34b9aaf69bdcae12f3cedb43af8 (diff)
downloadzix-85512457fbe29aa161417903feaec74f5e7c15c5.tar.gz
zix-85512457fbe29aa161417903feaec74f5e7c15c5.tar.bz2
zix-85512457fbe29aa161417903feaec74f5e7c15c5.zip
Fix some integer conversion warnings
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 5ebe8e8..519ccb2 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 int
+static uintptr_t
ith_elem(int test_num, unsigned n_elems, int i)
{
switch (test_num % 3) {