summaryrefslogtreecommitdiffstats
path: root/src/glx/clientattrib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/clientattrib.c')
-rw-r--r--src/glx/clientattrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/clientattrib.c b/src/glx/clientattrib.c
index 4721fe938fd..1b306eab120 100644
--- a/src/glx/clientattrib.c
+++ b/src/glx/clientattrib.c
@@ -75,7 +75,7 @@ __indirect_glPushClientAttrib(GLuint mask)
if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) {
if (!(sp = *spp)) {
- sp = (__GLXattribute *) malloc(sizeof(__GLXattribute));
+ sp = malloc(sizeof(__GLXattribute));
*spp = sp;
}
sp->mask = mask;