COMMON: Let intLog2 return an int instead of uint32, since it should return -1 for 0.

This commit is contained in:
Johannes Schickel 2011-07-24 19:53:48 +02:00
parent d6422468a9
commit b609100a56

View File

@ -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))