From 0a9cb7cb6e684ad1bfb773c03fae85f07c020d5f Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Tue, 4 Jun 2013 20:11:28 +0400 Subject: [PATCH] luajit-update: post-merge fixes. --- src/lua/init.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/init.m b/src/lua/init.m index ea9e32a2cf..48e03146a3 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)); -- GitLab