lua-users home
lua-l archive

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


> C:\Projects\Tech\Script\Source\Lua40\src\ltable.c(149) : warning C4244: 'function' : conversion from 'int ' to 'float ', possible loss of data
> C:\Projects\Tech\Script\Source\Lua40\src\ltable.c(155) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
> C:\Projects\Tech\Script\Source\Lua40\src\ltable.c(285) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data

Of those above, you may have problems only if you index a table with
integer indices that do not fit in a float (that is, > 2^24) (from C),
or if you have tables with more than 2^24 elements (16,777,216).


> C:\Projects\Tech\Script\Source\Lua40\src\lvm.c(328) : warning C4244: 'function' : conversion from 'int ' to 'float ', possible loss of data

No problem at all.

-- Roberto