mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-22 02:42:12 +03:00
Fix rallocm() test to support >4KiB pages.
This commit is contained in:
parent
8e6f8b490d
commit
30fbef8aea
2 changed files with 15 additions and 5 deletions
|
|
@ -689,7 +689,7 @@ malloc_init_hard(void)
|
|||
|
||||
result = sysconf(_SC_PAGESIZE);
|
||||
assert(result != -1);
|
||||
pagesize = (unsigned)result;
|
||||
pagesize = (size_t)result;
|
||||
|
||||
/*
|
||||
* We assume that pagesize is a power of 2 when calculating
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue