From 791d8d858502f34204e0460c73e5eb6d340bcd92 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 21 Jun 2007 10:50:53 -0300 Subject: detail --- ltablib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltablib.c b/ltablib.c index d47fdde6..28c49f94 100644 --- a/ltablib.c +++ b/ltablib.c @@ -1,5 +1,5 @@ /* -** $Id: ltablib.c,v 1.38 2005/10/23 17:38:15 roberto Exp roberto $ +** $Id: ltablib.c,v 1.39 2007/06/21 13:48:04 roberto Exp roberto $ ** Library for Table Manipulation ** See Copyright Notice in lua.h */ @@ -129,7 +129,7 @@ static int tconcat (lua_State *L) { const char *sep = luaL_optlstring(L, 2, "", &lsep); luaL_checktype(L, 1, LUA_TTABLE); i = luaL_optint(L, 3, 1); - last = luaL_opt(L, luaL_checkint, 4, lua_objlen(L, 1)); + last = luaL_opt(L, luaL_checkint, 4, (int)lua_objlen(L, 1)); luaL_buffinit(L, &b); for (; i <= last; i++) { lua_rawgeti(L, 1, i); -- cgit v1.2.3-55-g6feb