Hi. The current int type can easily overflow for allocation of more than 4GB. The following patch changes that to size_t. I guess I need to adjust the API version of the function, right? Thanks, Martin --- malloc/malloc.h | 20 ++++++++++---------- manual/memory.texi | 22 +++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-)