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

Return uint32 from Log2FloorNonZero64
This commit is contained in:
Adam Cozzette 2017-03-03 07:06:15 -08:00 committed by GitHub
commit 008ff033ef

View File

@ -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