Fix potential overflow when we're nearing 4G blocks..

This commit is contained in:
Nils O. Selåsdal
2026-06-09 23:24:57 +02:00
parent 2b4660f7d5
commit 627c6d16ca
4 changed files with 84 additions and 52 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include <sys/mman.h>
#define IsPageAligned(x) (IsAlignedToPow2(x, platform_page_size()))
#define IsPageAligned(x) (IsAlignedTo(x, platform_page_size()))
U32 platform_page_size(void)
{