mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Since malloc takes a size_t, we should use 0x7fffffff as the max size (ie what the larget unsigned int) would normall be. Newer newlib's have a check that will fail building since 0xf0000000 exceeds the size. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>