diff options
author | Dave Airlie <airliedfreedesktop.org> | 2005-02-14 09:25:08 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2005-02-14 09:25:08 +0000 |
commit | fbdd7a5e7487849bfe06a7bef68b4dad75f5d58c (patch) | |
tree | 5e6948d5c36220078bae8de1de1273ecf52c212e /src/mesa/tnl_dd | |
parent | aeee36a3117955ac6567fd2560432d07f391e0e0 (diff) |
fix signed vs unsigned comparison warnings in tnl_dd
Diffstat (limited to 'src/mesa/tnl_dd')
-rw-r--r-- | src/mesa/tnl_dd/t_dd_triemit.h | 2 | ||||
-rw-r--r-- | src/mesa/tnl_dd/t_dd_tritmp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl_dd/t_dd_triemit.h b/src/mesa/tnl_dd/t_dd_triemit.h index c99e6e68661..f5979ee9a75 100644 --- a/src/mesa/tnl_dd/t_dd_triemit.h +++ b/src/mesa/tnl_dd/t_dd_triemit.h @@ -143,7 +143,7 @@ static void TAG(fast_clipped_poly)( GLcontext *ctx, const GLuint *elts, GLuint vertsize = GET_VERTEX_DWORDS(); GLuint *vb = (GLuint *)ALLOC_VERTS( (n-2) * 3, vertsize ); const GLuint *start = (const GLuint *)VERT(elts[0]); - int i,j; + GLuint i,j; if (DO_DEBUG_VERTS) { fprintf(stderr, "%s\n", __FUNCTION__); diff --git a/src/mesa/tnl_dd/t_dd_tritmp.h b/src/mesa/tnl_dd/t_dd_tritmp.h index bc1617eae33..6ba15cea02d 100644 --- a/src/mesa/tnl_dd/t_dd_tritmp.h +++ b/src/mesa/tnl_dd/t_dd_tritmp.h @@ -749,7 +749,7 @@ static void TAG(line)( GLcontext *ctx, GLuint e0, GLuint e1 ) static void TAG(points)( GLcontext *ctx, GLuint first, GLuint last ) { struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; - int i; + GLuint i; LOCAL_VARS(1); if (VB->Elts == 0) { |