diff --git a/src/lua/init.m b/src/lua/init.m index ef9f3bd804ea58f7250ebfcad5cf085525ba80b7..addb58b62f4e649908afea81124761a03c8b3dd4 100644 --- a/src/lua/init.m +++ b/src/lua/init.m @@ -126,7 +126,7 @@ tarantool_lua_tointeger64(struct lua_State *L, int idx) if (idx < 0) idx = lua_gettop(L) + idx + 1; GCcdata *cd = cdataV(L->base + idx - 1); - if (cd->typeid != CTID_INT64 && cd->typeid != CTID_UINT64) { + if (cd->ctypeid != CTID_INT64 && cd->ctypeid != CTID_UINT64) { luaL_error(L, "lua_tointeger64: unsupported cdata type"); }