From aa3ea843e44b0e4554dabdac503671044b005752 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Mon, 28 Jan 2019 10:21:11 -0500 Subject: [PATCH] test_maple_tree: Fix compile warning Signed-off-by: Liam R. Howlett --- lib/test_maple_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c index 73af106a9e4f..3be618811071 100644 --- a/lib/test_maple_tree.c +++ b/lib/test_maple_tree.c @@ -220,9 +220,9 @@ static noinline void check_double_insert_leaf(struct maple_tree *mt) i = huge; while (i > 4096) { - check_insert(mt, i, i); + check_insert(mt, i, (void*) i); for (j = huge; j >= i; j /= 2) { - check_load(mt, j, j); + check_load(mt, j, (void*) j); check_load(mt, j+1, NULL); } i /= 2; -- 2.50.1