summaryrefslogtreecommitdiff
path: root/lib/mesa/src/glx/glxglvnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/glx/glxglvnd.c')
-rw-r--r--lib/mesa/src/glx/glxglvnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/glx/glxglvnd.c b/lib/mesa/src/glx/glxglvnd.c
index b6b415114..bf5c2a06b 100644
--- a/lib/mesa/src/glx/glxglvnd.c
+++ b/lib/mesa/src/glx/glxglvnd.c
@@ -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)