--- a/src/video/x11/SDL_x11gl.c Mon Jul 07 19:19:39 2003 +0000
+++ b/src/video/x11/SDL_x11gl.c Wed Jul 09 15:32:21 2003 +0000
@@ -441,7 +441,7 @@
this->gl_data->glXGetConfig =
(int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig");
this->gl_data->glXQueryExtensionsString =
- (const char (*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString");
+ (const char *(*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString");
/* We don't compare below for this in case we're not using Mesa. */
this->gl_data->glXReleaseBuffersMESA =
--- a/src/video/x11/SDL_x11gl_c.h Mon Jul 07 19:19:39 2003 +0000
+++ b/src/video/x11/SDL_x11gl_c.h Wed Jul 09 15:32:21 2003 +0000
@@ -77,7 +77,7 @@
( Display* dpy,
GLXDrawable drawable );
- const char (*glXQueryExtensionsString)
+ const char *(*glXQueryExtensionsString)
( Display* dpy,
int screen);