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