summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_vertex_c.c')
-rw-r--r--src/mesa/tnl/t_vertex_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vertex_c.c b/src/mesa/tnl/t_vertex_c.c
index 51090260372..a901aed14c5 100644
--- a/src/mesa/tnl/t_vertex_c.c
+++ b/src/mesa/tnl/t_vertex_c.c
@@ -255,5 +255,5 @@ void _tnl_init_c_codegen( struct tnl_clipspace_codegen *p )
make_empty_list(&p->codegen_list);
p->buf_size = 2048;
- p->buf = MALLOC(p->buf_size);
+ p->buf = (char *) MALLOC(p->buf_size);
}