diff options
author | rubidium <rubidium@openttd.org> | 2007-12-10 22:26:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-10 22:26:24 +0000 |
commit | a1dbb10c26763574d7cdd66d0e9522382164a773 (patch) | |
tree | c567c5687d1d60dfa3feffb7d149f848ed838bf2 /src/core/bitmath_func.hpp | |
parent | ac7c79f039f43aed145c327b06ea9edadfbbe7f3 (diff) | |
download | openttd-a1dbb10c26763574d7cdd66d0e9522382164a773.tar.xz |
(svn r11616) -Fix [FS#1526]: sometimes large values could go off the chart.
Diffstat (limited to 'src/core/bitmath_func.hpp')
-rw-r--r-- | src/core/bitmath_func.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp index f4c6ff0bc..357a52212 100644 --- a/src/core/bitmath_func.hpp +++ b/src/core/bitmath_func.hpp @@ -211,7 +211,7 @@ static inline uint8 FindFirstBit2x64(const int value) } uint8 FindFirstBit(uint32 x); -uint8 FindLastBit(uint32 x); +uint8 FindLastBit(uint64 x); /** * Clear the first bit in an integer. |