lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> A few (more notable) warnings reported by ICC-32:

Many thanks.

> 5.1.4
> lgc.c(288) : warning C4334: '<<' : result of 32-bit shift implicitly
> converted to 64 bits (was 64-bit shift intended?)
> ltable.c(323) : warning C4334: '<<' : result of 32-bit shift
> implicitly converted to 64 bits (was 64-bit shift intended?)
> ltable.c(376) : warning C4334: '<<' : result of 32-bit shift
> implicitly converted to 64 bits (was 64-bit shift intended?)

Do you know what that means? This is (1 << (x)), where x is an unsigned
byte. How shoud I write that to avoid this implicit conversion?

-- Roberto