From 6cb4861f3eb4757ad4d1f1b0ef6aca793244381e Mon Sep 17 00:00:00 2001 From: Daan Date: Wed, 21 May 2025 17:36:31 -0700 Subject: [PATCH] fix format specifier for numa nodes --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index ec8b65a3..89d0e103 100644 --- a/src/stats.c +++ b/src/stats.c @@ -348,7 +348,7 @@ static void _mi_stats_print(mi_stats_t* stats, mi_output_fun* out0, void* arg0) mi_stat_counter_print(&stats->malloc_guarded_count, "guarded", out, arg); mi_stat_print(&stats->threads, "threads", -1, out, arg); mi_stat_counter_print_avg(&stats->page_searches, "searches", out, arg); - _mi_fprintf(out, arg, "%10s: %5zu\n", "numa nodes", _mi_os_numa_node_count()); + _mi_fprintf(out, arg, "%10s: %5i\n", "numa nodes", _mi_os_numa_node_count()); size_t elapsed; size_t user_time;