From 7fd93ebdfab036b891234de85a775fd67daa228b Mon Sep 17 00:00:00 2001 From: "GAME\\zhangjiajian" Date: Wed, 22 Mar 2023 16:36:34 +0800 Subject: [PATCH] fix __class__fprintf --- dwarves_fprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwarves_fprintf.c b/dwarves_fprintf.c index 30355b40..b8f631e9 100644 --- a/dwarves_fprintf.c +++ b/dwarves_fprintf.c @@ -1809,7 +1809,7 @@ static size_t __class__fprintf(struct class *class, const struct cu *cu, } printed += fprintf(fp, " */\n"); } - cacheline = (cconf.base_offset + type->size) % conf_fprintf__cacheline_size(conf); + cacheline = (cconf.base_offset + type->size) % conf_fprintf__cacheline_size(&cconf); if (cacheline != 0) printed += fprintf(fp, "%.*s/* last cacheline: %u bytes */\n", cconf.indent, tabs,