fix signed vs unsigned comparison warnings in tnl_dd

This commit is contained in:
Dave Airlie
2005-02-14 09:25:08 +00:00
parent aeee36a311
commit fbdd7a5e74
2 changed files with 2 additions and 2 deletions

View File

@@ -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__);

View File

@@ -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) {