From ad52fc1b7e1ef0f33696c5d89e5dbc7dcef772d8 Mon Sep 17 00:00:00 2001 From: daanx Date: Wed, 5 Mar 2025 16:09:22 -0800 Subject: [PATCH] fix type --- src/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os.c b/src/os.c index 2ee4c897..01ec2c46 100644 --- a/src/os.c +++ b/src/os.c @@ -697,7 +697,7 @@ Support NUMA aware allocation static _Atomic(int) _mi_numa_node_count; // = 0 // cache the node count int _mi_os_numa_node_count(void) { - size_t count = mi_atomic_load_acquire(&_mi_numa_node_count); + int count = mi_atomic_load_acquire(&_mi_numa_node_count); if mi_unlikely(count <= 0) { long ncount = mi_option_get(mi_option_use_numa_nodes); // given explicitly? if (ncount > 0 && ncount < INT_MAX) {