mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
d001a6f1a0
The cc65 doc explicitly states that the return value of _heapmaxavail() can be used as parameter of malloc(). To actually allow for that the size of HEAP_ADMIN_SPACE has to be substracted from the raw size of the largest free heap block.