LibC: Fix various stdlib.cpp warnings.

This commit is contained in:
Andreas Kling
2019-06-22 14:27:15 +02:00
parent 54c5b68921
commit bd4ac6d42e
2 changed files with 11 additions and 10 deletions

View File

@@ -17,8 +17,8 @@
#define MAGIC_BIGALLOC_HEADER 0x42697267
#define PAGE_ROUND_UP(x) ((((size_t)(x)) + PAGE_SIZE - 1) & (~(PAGE_SIZE - 1)))
static const size_t number_of_chunked_blocks_to_keep_around_per_size_class = 32;
static const size_t number_of_big_blocks_to_keep_around_per_size_class = 8;
static const int number_of_chunked_blocks_to_keep_around_per_size_class = 32;
static const int number_of_big_blocks_to_keep_around_per_size_class = 8;
static bool s_log_malloc = false;
static bool s_scrub_malloc = true;