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
commitfaf096f506c27b61bf2fd4286090ec7eed0dde6f (patch)
treef1ddd90df6ac5ff2f2ff45161e825956f9bff97a /src/core/bitmath_func.hpp
parentb5a902703e26e01e92af33083a4ec2e977ad27be (diff)
downloadopenttd-faf096f506c27b61bf2fd4286090ec7eed0dde6f.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.