summaryrefslogtreecommitdiff
path: root/src/core/bitmath_func.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-02 19:21:56 +0000
committerrubidium <rubidium@openttd.org>2007-12-02 19:21:56 +0000
commit8c0122f42902363ba682566cd7671dc55f4d0c8c (patch)
treef1ddd90df6ac5ff2f2ff45161e825956f9bff97a /src/core/bitmath_func.hpp
parent49e6247de83827eb4c2dff456a846f63b5ec783c (diff)
downloadopenttd-8c0122f42902363ba682566cd7671dc55f4d0c8c.tar.xz
(svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high company values.
Diffstat (limited to 'src/core/bitmath_func.hpp')
-rw-r--r--src/core/bitmath_func.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp
index 1877f003e..f4c6ff0bc 100644
--- a/src/core/bitmath_func.hpp
+++ b/src/core/bitmath_func.hpp
@@ -211,6 +211,7 @@ static inline uint8 FindFirstBit2x64(const int value)
}
uint8 FindFirstBit(uint32 x);
+uint8 FindLastBit(uint32 x);
/**
* Clear the first bit in an integer.