diff options
Diffstat (limited to 'radix-tree.c')
-rw-r--r-- | radix-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radix-tree.c b/radix-tree.c index abb754e6..ed01810a 100644 --- a/radix-tree.c +++ b/radix-tree.c @@ -314,7 +314,7 @@ static inline void **__lookup_slot(struct radix_tree_root *root, return NULL; if (height == 0 && root->rnode) - return (void **)&root->rnode; + return (void *)&root->rnode; shift = (height-1) * RADIX_TREE_MAP_SHIFT; slot = &root->rnode; |