diff options
author | Brian Paul <[email protected]> | 2005-12-06 15:41:43 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-12-06 15:41:43 +0000 |
commit | 9580179dfb42d5b81ff6ec9704b82a556c7f1229 (patch) | |
tree | ae2a55aa82c4efc43ae832abcf316e1773c228bb /src/mesa/drivers/x11/fakeglx.c | |
parent | d5179613d5302173471a6a910fa9ec235c9ff046 (diff) |
C++ fixes, mostly casts (Stephane Conversy)
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-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 1933fed0673..24fc6fe6abe 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 */ |