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/main/texobj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/texobj.c') diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 3f0aa196c50..ca405bd78e7 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -1,4 +1,4 @@ -/* $Id: texobj.c,v 1.42 2001/03/03 20:33:28 brianp Exp $ */ +/* $Id: texobj.c,v 1.43 2001/03/08 15:23:46 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -214,8 +214,8 @@ _mesa_test_texobj_completeness( const GLcontext *ctx, if (t->Dimensions == 6) { /* make sure that all six cube map level 0 images are the same size */ - const GLint w = t->Image[baseLevel]->Width2; - const GLint h = t->Image[baseLevel]->Height2; + const GLuint w = t->Image[baseLevel]->Width2; + const GLuint h = t->Image[baseLevel]->Height2; if (!t->NegX[baseLevel] || t->NegX[baseLevel]->Width2 != w || t->NegX[baseLevel]->Height2 != h || -- cgit v1.2.3