mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Silence miscellaneous 64-to-32-bit data loss warnings.
This commit is contained in:
@@ -1396,7 +1396,7 @@ malloc_init_hard_finish(void)
|
||||
* machinery will fail to allocate memory at far lower limits.
|
||||
*/
|
||||
if (narenas_auto > chunksize / sizeof(arena_t *)) {
|
||||
narenas_auto = chunksize / sizeof(arena_t *);
|
||||
narenas_auto = (unsigned)(chunksize / sizeof(arena_t *));
|
||||
malloc_printf("<jemalloc>: Reducing narenas to limit (%d)\n",
|
||||
narenas_auto);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user