diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -387,7 +387,7 @@ static int doonnewstack (lua_State *L) { | |||
387 | 387 | ||
388 | 388 | ||
389 | static int s2d (lua_State *L) { | 389 | static int s2d (lua_State *L) { |
390 | lua_pushnumber(L, *cast(double *, luaL_check_string(L, 1))); | 390 | lua_pushnumber(L, *cast(const double *, luaL_check_string(L, 1))); |
391 | return 1; | 391 | return 1; |
392 | } | 392 | } |
393 | 393 | ||