summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-04-19 00:23:08 +0000
committerBrian Paul <[email protected]>2002-04-19 00:23:08 +0000
commitdb07de057f10ab7ab5be84352b674b200a0a9e22 (patch)
tree5e28b5366a40b2a3b127526324f631eb79a6e55e /src/mesa/main/context.c
parent36c3df78f4592443de7c065b6d539f4c2914d870 (diff)
added some casts
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 154164d1651..0bea34234ae 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.160 2002/04/09 16:56:50 keithw Exp $ */
+/* $Id: context.c,v 1.161 2002/04/19 00:23:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -477,7 +477,7 @@ init_matrix_stack( struct matrix_stack *stack,
stack->MaxDepth = maxDepth;
stack->DirtyFlag = dirtyFlag;
/* The stack */
- stack->Stack = CALLOC(maxDepth * sizeof(GLmatrix));
+ stack->Stack = (GLmatrix *) CALLOC(maxDepth * sizeof(GLmatrix));
for (i = 0; i < maxDepth; i++) {
_math_matrix_ctr(&stack->Stack[i]);
_math_matrix_alloc_inv(&stack->Stack[i]);