mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Clamp LG_VADDR for 32-bit builds on x64.
This commit is contained in:
parent
ad91762635
commit
bda12bd925
1 changed files with 3 additions and 0 deletions
|
|
@ -442,6 +442,9 @@ typedef unsigned __int32 uint32_t;
|
|||
if (f == NULL) {
|
||||
return 1;
|
||||
}
|
||||
if (vaddr > (sizeof(void *) << 3)) {
|
||||
vaddr = sizeof(void *) << 3;
|
||||
}
|
||||
fprintf(f, "%u", vaddr);
|
||||
fclose(f);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue