fix UINT32_MAX constant (see issue #913)
This commit is contained in:
@@ -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) !
|
||||
|
||||
Reference in New Issue
Block a user