diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-25 17:01:37 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-25 17:01:37 -0200 |
commit | 4590a89b32b62c75fca7ced96c282c7793b8885c (patch) | |
tree | 99ec05f9ba4ca157cbc8736d0b923d479065bf54 /lua.c | |
parent | 1475cb59bf16c6af7ecd937e13da0ca0f451a191 (diff) | |
download | lua-4590a89b32b62c75fca7ced96c282c7793b8885c.tar.gz lua-4590a89b32b62c75fca7ced96c282c7793b8885c.tar.bz2 lua-4590a89b32b62c75fca7ced96c282c7793b8885c.zip |
corrected warnings from different compilers (mostly casts and small
details)
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.192 2010/07/25 15:03:37 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.193 2010/10/18 16:06:33 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -428,7 +428,7 @@ static int handle_luainit (lua_State *L) { | |||
428 | 428 | ||
429 | 429 | ||
430 | static int pmain (lua_State *L) { | 430 | static int pmain (lua_State *L) { |
431 | int argc = lua_tointeger(L, 1); | 431 | int argc = (int)lua_tointeger(L, 1); |
432 | char **argv = (char **)lua_touserdata(L, 2); | 432 | char **argv = (char **)lua_touserdata(L, 2); |
433 | int script; | 433 | int script; |
434 | int has_i = 0, has_v = 0, has_e = 0; | 434 | int has_i = 0, has_v = 0, has_e = 0; |