• Sam Lantinga's avatar
    Date: Sat, 15 Jan 2005 15:06:01 -0600 · 0d9f27d2
    Sam Lantinga authored
    From: Tyler Montbriand
    Subject: [SDL] minor bugfix for test/testoverlay2.c
    
    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.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401031
    0d9f27d2
testoverlay2.c 16.4 KB