From a32b5a9c793e4f4a4577837b73e783386842db02 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 24 Jun 2021 16:07:45 +0200 Subject: Remove casual un-const casting in various places Signed-off-by: David Oberhollenzer --- tests/rbtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3