commit | c17b2a05dd50a3ba437e6373093a0d6a359cdee0 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Fri Aug 02 12:08:43 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 15 16:14:36 2024 -0600 |
tree | 510c31373f30f28ce0d63d25b7d18300a58f0e32 | |
parent | 1779a58c66a8229ebc18c08c11f9c7e71b3fd982 [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>