summaryrefslogtreecommitdiff
path: root/lib/bitops.c
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:53:34 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commitae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch)
treebe0c9427556557ff5b06b0250bc64ff33062199e /lib/bitops.c
parente348ef01b433e06888310c1098a05291034a856c (diff)
unsigned [int] -> uint
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;
}