summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_glx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/indirect_glx.c')
-rw-r--r--src/glx/indirect_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/indirect_glx.c b/src/glx/indirect_glx.c
index 4f23fed3b08..53d5a914db7 100644
--- a/src/glx/indirect_glx.c
+++ b/src/glx/indirect_glx.c
@@ -384,7 +384,7 @@ indirect_create_context(struct glx_screen *psc,
*/
bufSize = (XMaxRequestSize(psc->dpy) * 4) - sz_xGLXRenderReq;
- gc->buf = (GLubyte *) malloc(bufSize);
+ gc->buf = malloc(bufSize);
if (!gc->buf) {
free(gc->client_state_private);
free(gc);