[SDL] minor bugfix for test/testoverlay2.c

Sam Lantinga slouken at devolution.com
Tue Jan 18 10:32:20 PST 2005


> 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




More information about the SDL mailing list