--- a/include/SDL_compat.h Mon Jan 12 22:36:12 2009 +0000
+++ b/include/SDL_compat.h Tue Jan 13 03:53:22 2009 +0000
@@ -228,8 +228,7 @@
extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width,
int height,
int bpp, Uint32 flags);
-extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes(SDL_PixelFormat * format,
- Uint32 flags);
+extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes(const SDL_PixelFormat * format, Uint32 flags);
extern DECLSPEC SDL_Surface *SDLCALL SDL_SetVideoMode(int width,
int height,
int bpp, Uint32 flags);