mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
details.
This commit is contained in:
parent
d3651c1d88
commit
cbfc581990
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue