diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-12-06 15:41:43 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-12-06 15:41:43 +0000 |
commit | 9580179dfb42d5b81ff6ec9704b82a556c7f1229 (patch) | |
tree | ae2a55aa82c4efc43ae832abcf316e1773c228bb /src/mesa/drivers | |
parent | d5179613d5302173471a6a910fa9ec235c9ff046 (diff) |
C++ fixes, mostly casts (Stephane Conversy)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 1933fed067..24fc6fe6ab 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 */ |