glx: fix glvnd pointer types
[mesa.git] / src / glx / glxglvnd.c
index b6b415114c9fd29afaac83fc6b9841bd21765562..bf5c2a06b0cfd845196de4491987cc464ff2c870 100644 (file)
@@ -41,7 +41,7 @@ static void *__glXGLVNDGetDispatchAddress(const GLubyte *procName)
 {
     unsigned internalIndex = FindGLXFunction(procName);
 
-    return __glXDispatchFunctions[internalIndex];
+    return (void*)__glXDispatchFunctions[internalIndex];
 }
 
 static void __glXGLVNDSetDispatchIndex(const GLubyte *procName, int index)