diff options
| -rw-r--r-- | ltablib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltablib.c,v 1.38 2005/10/23 17:38:15 roberto Exp roberto $ | 2 | ** $Id: ltablib.c,v 1.39 2007/06/21 13:48:04 roberto Exp roberto $ |
| 3 | ** Library for Table Manipulation | 3 | ** Library for Table Manipulation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -129,7 +129,7 @@ static int tconcat (lua_State *L) { | |||
| 129 | const char *sep = luaL_optlstring(L, 2, "", &lsep); | 129 | const char *sep = luaL_optlstring(L, 2, "", &lsep); |
| 130 | luaL_checktype(L, 1, LUA_TTABLE); | 130 | luaL_checktype(L, 1, LUA_TTABLE); |
| 131 | i = luaL_optint(L, 3, 1); | 131 | i = luaL_optint(L, 3, 1); |
| 132 | last = luaL_opt(L, luaL_checkint, 4, lua_objlen(L, 1)); | 132 | last = luaL_opt(L, luaL_checkint, 4, (int)lua_objlen(L, 1)); |
| 133 | luaL_buffinit(L, &b); | 133 | luaL_buffinit(L, &b); |
| 134 | for (; i <= last; i++) { | 134 | for (; i <= last; i++) { |
| 135 | lua_rawgeti(L, 1, i); | 135 | lua_rawgeti(L, 1, i); |
