mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Fix an MSVC compiler warning.
This commit is contained in:
parent
8f61fdedb9
commit
6468dd52f3
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ tcache_boot(tsdn_t *tsdn)
|
|||
*/
|
||||
if (opt_lg_tcache_max < 0 || (ZU(1) << opt_lg_tcache_max) < SMALL_MAXCLASS)
|
||||
tcache_maxclass = SMALL_MAXCLASS;
|
||||
else if ((1U << opt_lg_tcache_max) > large_maxclass)
|
||||
else if ((ZU(1) << opt_lg_tcache_max) > large_maxclass)
|
||||
tcache_maxclass = large_maxclass;
|
||||
else
|
||||
tcache_maxclass = (ZU(1) << opt_lg_tcache_max);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue