Commit 008ff033 authored by Adam Cozzette's avatar Adam Cozzette Committed by GitHub

Merge pull request #2784 from acozzette/log-2-floor-int

Return uint32 from Log2FloorNonZero64
parents 8610d0a9 938206d6
......@@ -358,7 +358,7 @@ class Bits {
#endif
}
static uint64 Log2FloorNonZero64(uint64 n) {
static uint32 Log2FloorNonZero64(uint64 n) {
#if defined(__GNUC__)
return 63 ^ __builtin_clzll(n);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment