Skip to content
Snippets Groups Projects
Commit 5380e90e authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

use lua_Number as table key

parent 8d176273
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ salloc_stat_lua_cb(const struct slab_class_stats *cstat, void *cb_ctx)
* Create a Lua table for every slab class. A class is
* defined by its item size.
*/
luaL_pushnumber64(L, cstat->item_size);
lua_pushnumber(L, cstat->item_size);
lua_newtable(L);
lua_pushstring(L, "slabs");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment