diff --git a/src/lua/init.m b/src/lua/init.m index ea9e32a2cf6a2794d50f94c4b1c8e38f34e44173..48e03146a32501711e4a89a01e769c4c26ac5302 100644 --- a/src/lua/init.m +++ b/src/lua/init.m @@ -920,7 +920,7 @@ tarantool_lua_printstack_yaml(struct lua_State *L, struct tbuf *out) GCcdata *cd = cdataV(L->base + i - 1); const char *sz = tarantool_lua_tostring(L, i); int len = strlen(sz); - int chop = (cd->typeid == CTID_UINT64 ? 3 : 2); + int chop = (cd->ctypeid == CTID_UINT64 ? 3 : 2); tbuf_printf(out, " - %-.*s" CRLF, len - chop, sz); } else tbuf_printf(out, " - %s" CRLF, @@ -941,7 +941,7 @@ tarantool_lua_printstack(struct lua_State *L, struct tbuf *out) GCcdata *cd = cdataV(L->base + i - 1); const char *sz = tarantool_lua_tostring(L, i); int len = strlen(sz); - int chop = (cd->typeid == CTID_UINT64 ? 3 : 2); + int chop = (cd->ctypeid == CTID_UINT64 ? 3 : 2); tbuf_printf(out, "%-.*s" CRLF, len - chop, sz); } else tbuf_printf(out, "%s", tarantool_lua_tostring(L, i));