diff options
Diffstat (limited to 'util-src/crand.c')
-rw-r--r-- | util-src/crand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/crand.c b/util-src/crand.c index ef9da4d2..d4b84327 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -100,7 +100,7 @@ int luaopen_util_crand(lua_State *L) { luaL_checkversion(L); #endif - lua_newtable(L); + lua_createtable(L, 0, 2); lua_pushcfunction(L, Lrandom); lua_setfield(L, -2, "bytes"); |