From 5eb8c752f7dc2aaef5080831b1f8ff8092bc25af Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 13 Aug 2024 16:36:53 -0700 Subject: [PATCH] fix UINT32_MAX constant (see issue #913) --- src/segment-map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segment-map.c b/src/segment-map.c index 8927a8bd..2c3964fe 100644 --- a/src/segment-map.c +++ b/src/segment-map.c @@ -22,7 +22,7 @@ terms of the MIT license. A copy of the license can be found in the file #elif (MI_INTPTR_SIZE > 4) #define MI_SEGMENT_MAP_MAX_ADDRESS (48*1024ULL*MI_GiB) // 48 TiB #else -#define MI_SEGMENT_MAP_MAX_ADDRESS (MAX_UINT32) +#define MI_SEGMENT_MAP_MAX_ADDRESS (UINT32_MAX) #endif #define MI_SEGMENT_MAP_PART_SIZE (MI_INTPTR_SIZE*MI_KiB - 128) // 128 > sizeof(mi_memid_t) !