mirror of
https://github.com/lua/lua
synced 2025-03-31 01:53:06 +03:00
details.
This commit is contained in:
parent
d3651c1d88
commit
cbfc581990
2
ltests.c
2
ltests.c
@ -387,7 +387,7 @@ static int doonnewstack (lua_State *L) {
|
||||
|
||||
|
||||
static int s2d (lua_State *L) {
|
||||
lua_pushnumber(L, *cast(double *, luaL_check_string(L, 1)));
|
||||
lua_pushnumber(L, *cast(const double *, luaL_check_string(L, 1)));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user