aboutsummaryrefslogtreecommitdiff
path: root/src/lj_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_api.c')
-rw-r--r--src/lj_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_api.c b/src/lj_api.c
index 6369c17db..f972a760b 100644
--- a/src/lj_api.c
+++ b/src/lj_api.c
@@ -708,7 +708,7 @@ LUA_API void lua_pushlightuserdata(lua_State *L, void *p)
708LUA_API void lua_createtable(lua_State *L, int narray, int nrec) 708LUA_API void lua_createtable(lua_State *L, int narray, int nrec)
709{ 709{
710 lj_gc_check(L); 710 lj_gc_check(L);
711 settabV(L, L->top, lj_tab_new_ah(L, narray, nrec)); 711 settabV(L, L->top, lj_tab_new_ah(L, (uint32_t)narray, (uint32_t)nrec));
712 incr_top(L); 712 incr_top(L);
713} 713}
714 714