summaryrefslogtreecommitdiff
path: root/src/glx/glxglvnd.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-06-14 15:15:10 +0100
committerEric Engestrom <eric.engestrom@intel.com>2019-06-20 17:21:37 +0100
commit65b016b1469574ab2e3b4d2c2706fd96c995fa9f (patch)
tree063beae0287ac0189512cab6efc69dfee2dbe207 /src/glx/glxglvnd.c
parente0ee790ba7deb54cd4c0216f0f72798fc64747d5 (diff)
downloadmesa-65b016b1469574ab2e3b4d2c2706fd96c995fa9f.tar.gz
mesa-65b016b1469574ab2e3b4d2c2706fd96c995fa9f.tar.bz2
mesa-65b016b1469574ab2e3b4d2c2706fd96c995fa9f.zip
glx: fix glvnd pointer types
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110709 Fixes: 22a9e00aab66d3dd6890 ("glx: Implement the libglvnd interface.") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/glx/glxglvnd.c')
-rw-r--r--src/glx/glxglvnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxglvnd.c b/src/glx/glxglvnd.c
index b6b415114c9..bf5c2a06b0c 100644
--- a/src/glx/glxglvnd.c
+++ b/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)