summaryrefslogtreecommitdiffstats
path: root/lib/nodemask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nodemask.c')
-rw-r--r--lib/nodemask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nodemask.c b/lib/nodemask.c
index 3aa454c54c0d..e22647f5181b 100644
--- a/lib/nodemask.c
+++ b/lib/nodemask.c
@@ -3,9 +3,9 @@
#include <linux/module.h>
#include <linux/random.h>
-int __next_node_in(int node, const nodemask_t *srcp)
+unsigned int __next_node_in(int node, const nodemask_t *srcp)
{
- int ret = __next_node(node, srcp);
+ unsigned int ret = __next_node(node, srcp);
if (ret == MAX_NUMNODES)
ret = __first_node(srcp);