aboutsummaryrefslogtreecommitdiff
path: root/tests/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libutil')
-rw-r--r--tests/libutil/rbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libutil/rbtree.c b/tests/libutil/rbtree.c
index 25c9b61..c430d67 100644
--- a/tests/libutil/rbtree.c
+++ b/tests/libutil/rbtree.c
@@ -12,7 +12,7 @@
static int key_compare(const void *ctx, const void *a, const void *b)
{
(void)ctx;
- return *((sqfs_s32 *)a) - *((sqfs_s32 *)b);
+ return *((const sqfs_s32 *)a) - *((const sqfs_s32 *)b);
}
static size_t count_nodes_dfs(rbtree_node_t *n)