aboutsummaryrefslogtreecommitdiff
path: root/ltablib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltablib.c')
-rw-r--r--ltablib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltablib.c b/ltablib.c
index 2ba31a4f..4c3f6900 100644
--- a/ltablib.c
+++ b/ltablib.c
@@ -63,7 +63,7 @@ static int tcreate (lua_State *L) {
63 lua_Unsigned sizerest = (lua_Unsigned)luaL_optinteger(L, 2, 0); 63 lua_Unsigned sizerest = (lua_Unsigned)luaL_optinteger(L, 2, 0);
64 luaL_argcheck(L, sizeseq <= UINT_MAX, 1, "out of range"); 64 luaL_argcheck(L, sizeseq <= UINT_MAX, 1, "out of range");
65 luaL_argcheck(L, sizerest <= UINT_MAX, 2, "out of range"); 65 luaL_argcheck(L, sizerest <= UINT_MAX, 2, "out of range");
66 lua_createtable(L, sizeseq, sizerest); 66 lua_createtable(L, (unsigned)sizeseq, (unsigned)sizerest);
67 return 1; 67 return 1;
68} 68}
69 69