Skip to content
Commit 64be8d32 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

tests: mem_alloc: Fix build issue with malloc test



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: default avatarKumar Gala <kumar.gala@linaro.org>
parent f0a20c62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment