aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 42fbc64e..0785fa7b 100644
--- a/ltests.c
+++ b/ltests.c
@@ -387,7 +387,7 @@ static int doonnewstack (lua_State *L) {
387 387
388 388
389static int s2d (lua_State *L) { 389static 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