0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-16 18:35:19 +00:00

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 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;