summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-01-27 17:38:46 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-01-27 17:38:46 +0100
commit982892a98bb6c67247819e8ecc01993a71131f28 (patch)
treeb160f9471ee88886255622e7493e44345fc791a5
parent62cc0bba74b0ed9b3b9b56807840b1ffdf44a5eb (diff)
Restore compilability when HAVE_DLFCN_H = 0
-rw-r--r--src/Fl_Gl_Window.cxx2
1 files changed, 1 insertions, 1 deletions
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;