Fixed a static assert in page allocator

This commit is contained in:
Maria Matejka 2022-03-09 13:27:49 +01:00
parent 9b6db9f9b8
commit 4e60b3ee72

View file

@ -26,7 +26,7 @@ long page_size = 0;
#define KEEP_PAGES_MAIN_MIN 8 #define KEEP_PAGES_MAIN_MIN 8
#define CLEANUP_PAGES_BULK 256 #define CLEANUP_PAGES_BULK 256
_Static_assert(KEEP_PAGES_MAIN_MIN * 4 < KEEP_PAGES_MAIN_MAX); STATIC_ASSERT(KEEP_PAGES_MAIN_MIN * 4 < KEEP_PAGES_MAIN_MAX);
static _Bool use_fake = 0; static _Bool use_fake = 0;