summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils.h b/utils.h
index 301a075..4e14bcf 100644
--- a/utils.h
+++ b/utils.h
@@ -98,10 +98,8 @@ static inline int fls(int x)
x <<= 2;
r -= 2;
}
- if (!(x & 0x80000000u)) {
- //x <<= 1;
+ if (!(x & 0x80000000u))
r -= 1;
- }
return r;
}
#endif