From 630434bb0ac619f7beec927569782d924c459385 Mon Sep 17 00:00:00 2001 From: "debing.sun" Date: Tue, 30 Jan 2024 01:38:08 +0800 Subject: [PATCH] Fixed type error with allocated that caused incorrect printing on 32bit --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index 428e8ffb..026a4f54 100644 --- a/src/stats.c +++ b/src/stats.c @@ -324,7 +324,7 @@ stats_arena_bins_print(emitter_t *emitter, bool mutex, unsigned i, COL_HDR(row, size, NULL, right, 20, size) COL_HDR(row, ind, NULL, right, 4, unsigned) - COL_HDR(row, allocated, NULL, right, 13, uint64) + COL_HDR(row, allocated, NULL, right, 13, size) COL_HDR(row, nmalloc, NULL, right, 13, uint64) COL_HDR(row, nmalloc_ps, "(#/sec)", right, 8, uint64) COL_HDR(row, ndalloc, NULL, right, 13, uint64)