diff options
author | Brian Paul <[email protected]> | 2001-05-03 14:11:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-05-03 14:11:18 +0000 |
commit | 9e351d52ae52927fbe505e8808e70de3e646be79 (patch) | |
tree | 1317296db672779563ce132da8f98177ac0747db /src/mesa/tnl/t_imm_eval.c | |
parent | 5028216c81706070fab906f4e56a14c1e2d61cbc (diff) |
minor clean-ups and warning fixes
Diffstat (limited to 'src/mesa/tnl/t_imm_eval.c')
-rw-r--r-- | src/mesa/tnl/t_imm_eval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_imm_eval.c b/src/mesa/tnl/t_imm_eval.c index e946dfd1bfa..747e6d1b149 100644 --- a/src/mesa/tnl/t_imm_eval.c +++ b/src/mesa/tnl/t_imm_eval.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_eval.c,v 1.10 2001/05/01 13:18:03 keithw Exp $ */ +/* $Id: t_imm_eval.c,v 1.11 2001/05/03 14:11:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -130,7 +130,7 @@ static void eval1_4f_ca( struct gl_client_array *dest, dimension, map->Order); } - dest->Size = MAX2(dest->Size, dimension); + dest->Size = MAX2(dest->Size, (GLint) dimension); } @@ -262,7 +262,7 @@ static void eval2_4f_ca( struct gl_client_array *dest, map->Uorder, map->Vorder); } - dest->Size = MAX2(dest->Size, dimension); + dest->Size = MAX2(dest->Size, (GLint) dimension); } @@ -329,7 +329,7 @@ static void copy_4f_stride( GLfloat to[][4], GLfloat *from, if (stride == 4 * sizeof(GLfloat)) MEMCPY( to, from, count * sizeof(to[0])); else { - int i; + GLuint i; /* fprintf(stderr, "%s stride %d count %d\n", __FUNCTION__, */ /* stride, count); */ for (i = 0 ; i < count ; i++, STRIDE_F(from, stride)) |