comparison 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
comparison
equal deleted inserted replaced
1195:bb6791b0a268 1196:b81f54c3963f
530 void* handle; 530 void* handle;
531 void* retval; 531 void* retval;
532 532
533 handle = this->gl_config.dll_handle; 533 handle = this->gl_config.dll_handle;
534 if ( this->gl_data->glXGetProcAddress ) { 534 if ( this->gl_data->glXGetProcAddress ) {
535 return this->gl_data->glXGetProcAddress(proc); 535 return this->gl_data->glXGetProcAddress((const GLubyte *)proc);
536 } 536 }
537 #if defined(__OpenBSD__) && !defined(__ELF__) 537 #if defined(__OpenBSD__) && !defined(__ELF__)
538 #undef do_dlsym 538 #undef do_dlsym
539 #endif 539 #endif
540 retval = do_dlsym(handle, proc); 540 retval = do_dlsym(handle, proc);