> Programs that use malloc ought to #include <stdlib.h> . On 32-bit systems you
> can get away with not including it, but on 64-bit systems it will assume
> malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
Fixed in CVS.
Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment