aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rbtree.c b/tests/rbtree.c
index fc607a5..26f3ac1 100644
--- a/tests/rbtree.c
+++ b/tests/rbtree.c
@@ -11,7 +11,7 @@
static int key_compare(const void *a, const void *b)
{
- 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)