mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
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 <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.
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
* *
|
||||
********************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
#define MOOSEPIC_W 64
|
||||
|
||||
Reference in New Issue
Block a user