diff options
Diffstat (limited to 'sys/libkern/flsl.c')
-rw-r--r-- | sys/libkern/flsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/flsl.c b/sys/libkern/flsl.c index 24742f2..b46813f 100644 --- a/sys/libkern/flsl.c +++ b/sys/libkern/flsl.c @@ -47,6 +47,6 @@ flsl(long mask) if (mask == 0) return (0); for (bit = 1; mask != 1; bit++) - mask >>= 1; + (unsigned long)mask >>= 1; return (bit); } |