mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
COMMON: Let intLog2 return an int instead of uint32, since it should return -1 for 0.
This commit is contained in:
parent
d6422468a9
commit
b609100a56
@ -58,7 +58,7 @@ static const char LogTable256[256] = {
|
||||
LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7)
|
||||
};
|
||||
|
||||
inline uint32 intLog2(uint32 v) {
|
||||
inline int intLog2(uint32 v) {
|
||||
register uint32 t, tt;
|
||||
|
||||
if ((tt = v >> 16))
|
||||
|
Loading…
x
Reference in New Issue
Block a user