Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/bits.hpp')
-rw-r--r--base/bits.hpp2
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) \