|
@@ -211,7 +211,7 @@ static inline long ffz(int x)
|
|
|
* This is defined the same way as ffs.
|
|
|
* Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
|
|
|
*/
|
|
|
-static inline long fls(int x)
|
|
|
+static inline int fls(int x)
|
|
|
{
|
|
|
int r;
|
|
|
|
|
@@ -232,7 +232,7 @@ static inline long fls(int x)
|
|
|
* the libc and compiler builtin ffs routines, therefore
|
|
|
* differs in spirit from the above ffz (man ffs).
|
|
|
*/
|
|
|
-static inline long ffs(int x)
|
|
|
+static inline int ffs(int x)
|
|
|
{
|
|
|
int r;
|
|
|
|