src/video/x11/SDL_x11opengles.c
changeset 6791 c19c5232439d
parent 6522 edacce9402fb
child 6817 93103b719488
--- 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);