summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-12-06 15:41:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-12-06 15:41:43 +0000
commit9580179dfb42d5b81ff6ec9704b82a556c7f1229 (patch)
treeae2a55aa82c4efc43ae832abcf316e1773c228bb /src/mesa/drivers/x11
parentd5179613d5302173471a6a910fa9ec235c9ff046 (diff)
downloadexternal_mesa3d-9580179dfb42d5b81ff6ec9704b82a556c7f1229.zip
external_mesa3d-9580179dfb42d5b81ff6ec9704b82a556c7f1229.tar.gz
external_mesa3d-9580179dfb42d5b81ff6ec9704b82a556c7f1229.tar.bz2
C++ fixes, mostly casts (Stephane Conversy)
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 1933fed..24fc6fe 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -345,7 +345,7 @@ save_glx_visual( Display *dpy, XVisualInfo *vinfo,
*/
xmvis->vishandle = vinfo;
/* Allocate more space for additional visual */
- VisualTable = _mesa_realloc( VisualTable,
+ VisualTable = (XMesaVisual *) _mesa_realloc( VisualTable,
sizeof(XMesaVisual) * NumVisuals,
sizeof(XMesaVisual) * (NumVisuals + 1));
/* add xmvis to the list */