mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-14 02:17:04 +00:00
Fixed a static assert in page allocator
This commit is contained in:
parent
92b832380d
commit
36f5fea31a
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user