lua-users home
lua-l archive

RE: LUA_NUM_TYPE=long

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


> I compiled Lua with LUA_NUM_TYPE as long (change was made
> in the config file).
> It compiled, but I have a big bunch of warnings (conversion
> between double and long). There are many places in Lua that
I reread this and noticed I forgot an important detail:
Actually, the warnings are in my code, when I try to pass
integers to the lua_pushnumber function for instance, as
lua_pusnumber expects a double even when LUA_NUM_TYPE is
set to long.
Vincent Penquerc'h
"4 GB ought to be enough for anybody."

AltStyle によって変換されたページ (->オリジナル) /