diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-08 20:41:50 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-08 20:41:50 -0200 |
commit | cbfc581990db2e20ee06670dbf84f28bcfe1dc42 (patch) | |
tree | 1bde30632c1f7cbfb695cb7e53f4a551b76103f3 /ltests.c | |
parent | d3651c1d88b65f3c9947d1f4f443d00f5340b28b (diff) | |
download | lua-cbfc581990db2e20ee06670dbf84f28bcfe1dc42.tar.gz lua-cbfc581990db2e20ee06670dbf84f28bcfe1dc42.tar.bz2 lua-cbfc581990db2e20ee06670dbf84f28bcfe1dc42.zip |
details.
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 | ||