[SDL] minor bugfix for test/testoverlay2.c

Tyler Montbriand tsm at accesscomm.ca
Sat Jan 15 13:06:01 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.




More information about the SDL mailing list