fame_malloc() is not yet 64 bit safe
Status: Beta
Brought to you by:
chappelier
To support 64 bit machines the code lines in
fame_malloc() should read:
aligned = (unsigned char*) (((unsigned long)ptr &
(~(ALIGN-1))) + ALIGN );
instead of:
aligned = (unsigned char*) (((unsigned int)ptr &
(~(ALIGN-1))) + ALIGN );
and also:
*padding = (ALIGN-1) - ((unsigned long)ptr &
(ALIGN-1));
instead of:
*padding = (ALIGN-1) - ((unsigned int)ptr &
(ALIGN-1));
Logged In: YES
user_id=61430
Thanks for the bug report. I can confirm that it fixes the
crashes I was seeing on my x86_64 running at 64bit.
Hopefully the maintainers will push out a new version one of
these days...