diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-24 16:41:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-24 16:41:48 -0300 |
commit | 52cb90ec759e3569e1edf1f73549d5a07043727d (patch) | |
tree | e87faf3a6392e5f533533970b457192bc0a46dc6 /ltests.c | |
parent | fa3b126a23f42134e6c9cc1ae2ba9f8d2df97967 (diff) | |
download | lua-52cb90ec759e3569e1edf1f73549d5a07043727d.tar.gz lua-52cb90ec759e3569e1edf1f73549d5a07043727d.tar.bz2 lua-52cb90ec759e3569e1edf1f73549d5a07043727d.zip |
detail
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.134 2012/10/03 12:36:46 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.135 2013/03/16 21:10:18 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -810,7 +810,7 @@ static int newuserdata (lua_State *L) { | |||
810 | 810 | ||
811 | 811 | ||
812 | static int pushuserdata (lua_State *L) { | 812 | static int pushuserdata (lua_State *L) { |
813 | lua_pushlightuserdata(L, cast(void *, luaL_checkinteger(L, 1))); | 813 | lua_pushlightuserdata(L, cast(void *, luaL_checkint(L, 1))); |
814 | return 1; | 814 | return 1; |
815 | } | 815 | } |
816 | 816 | ||