From 982892a98bb6c67247819e8ecc01993a71131f28 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 27 Jan 2020 17:38:46 +0100 Subject: Restore compilability when HAVE_DLFCN_H = 0 --- src/Fl_Gl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 5677447ce..3ec175c1d 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -491,7 +491,7 @@ void* Fl_Gl_Window_Driver::GetProcAddress(const char *procName) { # endif // RTLD_DEFAULT #elif defined(HAVE_GLXGETPROCADDRESSARB) - return glXGetProcAddressARB((const GLubyte *)procName); + return (void*)glXGetProcAddressARB((const GLubyte *)procName); #else return 0; -- cgit v1.2.3