From 01915e90e6912f06d43d443a09157f7bbc96ddc5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Mar 2001 15:23:46 +0000 Subject: More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. --- src/mesa/math/m_debug_norm.c | 6 +++--- src/mesa/math/m_debug_xform.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mesa/math') diff --git a/src/mesa/math/m_debug_norm.c b/src/mesa/math/m_debug_norm.c index 55179ff01e..9b7bafa7ca 100644 --- a/src/mesa/math/m_debug_norm.c +++ b/src/mesa/math/m_debug_norm.c @@ -1,4 +1,4 @@ -/* $Id: m_debug_norm.c,v 1.3 2001/03/03 20:57:00 brianp Exp $ */ +/* $Id: m_debug_norm.c,v 1.4 2001/03/08 15:23:46 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -124,7 +124,7 @@ static void ref_norm_transform_rescale( const GLmatrix *mat, const GLubyte mask[], GLvector3f *dest ) { - int i; + GLuint i; const GLfloat *s = in->start; const GLfloat *m = mat->inv; GLfloat (*out)[3] = (GLfloat (*)[3])dest->start; @@ -149,7 +149,7 @@ static void ref_norm_transform_normalize( const GLmatrix *mat, const GLubyte mask[], GLvector3f *dest ) { - int i; + GLuint i; const GLfloat *s = in->start; const GLfloat *m = mat->inv; GLfloat (*out)[3] = (GLfloat (*)[3])dest->start; diff --git a/src/mesa/math/m_debug_xform.c b/src/mesa/math/m_debug_xform.c index 8b26a233b4..dc81705aca 100644 --- a/src/mesa/math/m_debug_xform.c +++ b/src/mesa/math/m_debug_xform.c @@ -1,4 +1,4 @@ -/* $Id: m_debug_xform.c,v 1.3 2001/03/03 20:33:30 brianp Exp $ */ +/* $Id: m_debug_xform.c,v 1.4 2001/03/08 15:23:46 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -136,7 +136,7 @@ static void ref_transform( GLvector4f *dst, const GLubyte *clipmask, const GLubyte flag ) { - int i; + GLuint i; GLfloat *s = (GLfloat *)src->start; GLfloat (*d)[4] = (GLfloat (*)[4])dst->start; const GLfloat *m = mat->m; -- cgit v1.2.3