From b817936090443738255f87d4c227be3a0a705f62 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 18 Jan 2005 18:32:10 +0000 Subject: [PATCH] Date: Sat, 15 Jan 2005 15:06:01 -0600 From: Tyler Montbriand Subject: [SDL] minor bugfix for test/testoverlay2.c Programs that use malloc ought to #include . 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. --- test/testoverlay2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testoverlay2.c b/test/testoverlay2.c index 405988fde..5ac1629b6 100644 --- a/test/testoverlay2.c +++ b/test/testoverlay2.c @@ -5,6 +5,10 @@ * * ********************************************************************************/ +#include +#include +#include + #include "SDL.h" #define MOOSEPIC_W 64