diff options
Diffstat (limited to 'src/zenhorde/hordebundle.cpp')
| -rw-r--r-- | src/zenhorde/hordebundle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhorde/hordebundle.cpp b/src/zenhorde/hordebundle.cpp index d3974bc28..af6b97e59 100644 --- a/src/zenhorde/hordebundle.cpp +++ b/src/zenhorde/hordebundle.cpp @@ -57,7 +57,7 @@ MeasureVarInt(size_t Value) { return 1; } - return (FloorLog2(static_cast<unsigned int>(Value)) / 7) + 1; + return (FloorLog2_64(static_cast<uint64_t>(Value)) / 7) + 1; } static void |