Fixed bug 1671 - add cast to fix build with strict GCC settings
Pavol Rusnak 2012-12-21 16:08:39 PST
I suggest the following patch to fix build with strict GCC settings
--- a/src/video/x11/SDL_x11opengles.c Mon Dec 31 14:08:43 2012 -0800
+++ b/src/video/x11/SDL_x11opengles.c Mon Dec 31 14:14:01 2012 -0800
@@ -321,7 +321,7 @@
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
Display *display = data->videodata->display;
- SDL_GLContext context = 1;
+ SDL_GLContext context = (SDL_GLContext)1;
XSync(display, False);