diff options
Diffstat (limited to 'src/glx/indirect_glx.c')
-rw-r--r-- | src/glx/indirect_glx.c | 2 |
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); |