diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-07-02 12:59:17 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-07-02 12:59:17 -0300 |
| commit | 88c29c0cd57b1d43dc69aa71d44045de3b4823ef (patch) | |
| tree | 5ddd30cdc6ac969281cf78dc35df37a10d6907a7 | |
| parent | d93df22bf64112496c70d51f2bc8f32439b61098 (diff) | |
| download | lua-88c29c0cd57b1d43dc69aa71d44045de3b4823ef.tar.gz lua-88c29c0cd57b1d43dc69aa71d44045de3b4823ef.tar.bz2 lua-88c29c0cd57b1d43dc69aa71d44045de3b4823ef.zip | |
compilation warning about integer size x pointer size
| -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.119 2011/06/02 19:31:40 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.120 2011/06/24 14:36:21 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 | */ |
| @@ -777,7 +777,7 @@ static int newuserdata (lua_State *L) { | |||
| 777 | 777 | ||
| 778 | 778 | ||
| 779 | static int pushuserdata (lua_State *L) { | 779 | static int pushuserdata (lua_State *L) { |
| 780 | lua_pushlightuserdata(L, cast(void *, luaL_checkint(L, 1))); | 780 | lua_pushlightuserdata(L, cast(void *, luaL_checkinteger(L, 1))); |
| 781 | return 1; | 781 | return 1; |
| 782 | } | 782 | } |
| 783 | 783 | ||
