diff options
author | des <des@FreeBSD.org> | 2004-01-14 07:47:10 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-01-14 07:47:10 +0000 |
commit | 9766be385ffdb0c1bf9aec8d6161ec8734c3e18f (patch) | |
tree | 460b4974641885b4edb7f205a91be1715e9e980f /lib/libc/string/flsl.c | |
parent | 24162d19e2c07998cb28c1ad758310a5c329ab03 (diff) | |
download | FreeBSD-src-9766be385ffdb0c1bf9aec8d6161ec8734c3e18f.zip FreeBSD-src-9766be385ffdb0c1bf9aec8d6161ec8734c3e18f.tar.gz |
Translate from GNU C to ISO C.
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); } |