lua-users home
lua-l archive

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

> On Lua 5.3.x there is a warning on the function lua_rawlen
> <>

This link is not to Lua 5.3.x.

> warning C4244: 'return': conversion from 'lua_Unsigned' to 'size_t',
> possible loss of data
> I know is harmless warning, but would be nice to add a cast so we could
> have 0 warnings building Lua from source.

What is the compiler? What are the warning options? Are you sure
this is the only warning of this kind? (I think there are several
other instances of conversion from 'lua_Unsigned' or 'lua_Integer'
to 'size_t' in the code...)

-- Roberto