summaryrefslogtreecommitdiffstats
path: root/test/patree_bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/patree_bench.c')
-rw-r--r--test/patree_bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/patree_bench.c b/test/patree_bench.c
index 8af9f9b..02998d6 100644
--- a/test/patree_bench.c
+++ b/test/patree_bench.c
@@ -146,7 +146,7 @@ main(int argc, char** argv)
search_start = bench_start();
for (size_t i = 0; i < n; ++i) {
const size_t index = rand() % n;
- char* match = NULL;
+ const char* match = NULL;
if (zix_patree_find(patree, strings[index], &match)) {
return test_fail("Patree: Failed to find `%s'\n", strings[index]);
}