mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 00:23:33 +03:00
Silence miscellaneous 64-to-32-bit data loss warnings.
This commit is contained in:
parent
1c42a04cc6
commit
9e1810ca9d
13 changed files with 49 additions and 41 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue