summaryrefslogtreecommitdiff
path: root/tests/rbtree.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-24 16:07:45 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 17:48:49 +0200
commita32b5a9c793e4f4a4577837b73e783386842db02 (patch)
tree314f42e3302a33a7d3da80689862bc6e1bce179c /tests/rbtree.c
parent3f887a1acc6129210d1ad4a484842bd411a85c7a (diff)
Remove casual un-const casting in various places
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/rbtree.c')
-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)