From: Liam R. Howlett Date: Mon, 28 Jan 2019 15:21:11 +0000 (-0500) Subject: test_maple_tree: Fix compile warning X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=aa3ea843e44b0e4554dabdac503671044b005752;p=users%2Fjedix%2Flinux-maple.git test_maple_tree: Fix compile warning Signed-off-by: Liam R. Howlett --- diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c index 73af106a9e4f2..3be618811071a 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;