summaryrefslogtreecommitdiff
path: root/common/dlmalloc.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2024-08-02 12:08:43 +0200
committerTom Rini <trini@konsulko.com>2024-08-15 16:14:36 -0600
commitc17b2a05dd50a3ba437e6373093a0d6a359cdee0 (patch)
tree510c31373f30f28ce0d63d25b7d18300a58f0e32 /common/dlmalloc.c
parent1779a58c66a8229ebc18c08c11f9c7e71b3fd982 (diff)
x86: Fix ptrdiff_t for x86_64
sbrk() assumes ptrdiff_t is large enough to enlarge/shrink the heap by LONG_MIN/LONG_MAX. So, use the long type, also to match the rest of the Linux ecosystem. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/dlmalloc.c')
0 files changed, 0 insertions, 0 deletions