diff options
Diffstat (limited to 'sysdeps/generic/ffs.c')
-rw-r--r-- | sysdeps/generic/ffs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/ffs.c b/sysdeps/generic/ffs.c index 016f0336e9..18239cbecb 100644 --- a/sysdeps/generic/ffs.c +++ b/sysdeps/generic/ffs.c @@ -38,8 +38,8 @@ DEFUN(ffs, (i), int i) 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 }; - unsigned long int a; - unsigned long int x = i & -i; + unsigned int a; + unsigned int x = i & -i; a = x <= 0xffff ? (x <= 0xff ? 0 : 8) : (x <= 0xffffff ? 16 : 24); |