diff options
Diffstat (limited to 'base/bits.hpp')
-rw-r--r-- | base/bits.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/bits.hpp b/base/bits.hpp index ad0eeac236..fda447185a 100644 --- a/base/bits.hpp +++ b/base/bits.hpp @@ -70,7 +70,7 @@ namespace bits return static_cast<uint32_t>(x); } - inline uint8_t CeilLog(uint64_t x) noexcept + inline uint8_t FloorLog(uint64_t x) noexcept { #define CHECK_RSH(x, msb, offset) \ if (x >> offset) \ |