lua-users home
lua-l archive

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


> string.format("%x", 4294964480)
> string.format("%x", 0xFFFFF500)
> 
> Produce "80000000" rather than "FFFFF500".

This looks like a bad conversion to int. Check lua_number2int in luaconf.h.
Forcing the cast may work.