diff src/video/x11/SDL_x11gl.c @ 1196:b81f54c3963f

Fixed compile warnings with gcc 4
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Dec 2005 14:21:17 +0000
parents 2bd4cec0de63
children ca51a76a7328
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c	Tue Dec 06 14:36:39 2005 +0000
+++ b/src/video/x11/SDL_x11gl.c	Thu Dec 08 14:21:17 2005 +0000
@@ -532,7 +532,7 @@
 	
 	handle = this->gl_config.dll_handle;
 	if ( this->gl_data->glXGetProcAddress ) {
-		return this->gl_data->glXGetProcAddress(proc);
+		return this->gl_data->glXGetProcAddress((const GLubyte *)proc);
 	}
 #if defined(__OpenBSD__) && !defined(__ELF__)
 #undef do_dlsym