From cbfc581990db2e20ee06670dbf84f28bcfe1dc42 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 8 Feb 2002 20:41:50 -0200 Subject: [PATCH] details. --- ltests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { 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; }