summaryrefslogtreecommitdiffstats
path: root/test/patree_bench.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-20 19:43:18 +0000
committerDavid Robillard <d@drobilla.net>2011-09-20 19:43:18 +0000
commit06b045b28394e7d0219f626fd1a5b21236a8e303 (patch)
tree722135eac7c3f462bfe82d1e24448d05afea5baf /test/patree_bench.c
parentf15595dd3245f911edc36932de298fc51f2ea02f (diff)
downloadzix-06b045b28394e7d0219f626fd1a5b21236a8e303.tar.gz
zix-06b045b28394e7d0219f626fd1a5b21236a8e303.tar.bz2
zix-06b045b28394e7d0219f626fd1a5b21236a8e303.zip
Const correctness.
git-svn-id: http://svn.drobilla.net/zix/trunk@36 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
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]);
}