commit | dabf943bf2f5dfcfe71d33bde9ad1c2d39c654fd | [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 | ebdc4a6dc99b6e88b523eb357c7ea08d23163da4 [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>