summaryrefslogtreecommitdiff
path: root/lib/bitops.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitops.c')
-rw-r--r--lib/bitops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitops.c b/lib/bitops.c
index b63274b8..81586e87 100644
--- a/lib/bitops.c
+++ b/lib/bitops.c
@@ -17,7 +17,7 @@
* representation consists of @n ones followed by zeroes.
*/
u32
-u32_mkmask(unsigned n)
+u32_mkmask(uint n)
{
return n ? ~((1 << (32 - n)) - 1) : 0;
}