summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>1999-11-29 18:16:11 +0000
committerGareth Hughes <[email protected]>1999-11-29 18:16:11 +0000
commit9e7f0e1f7c09b72b696e9a4ca5116098ba1b9ce1 (patch)
treee9789c137f5b7c34abfe614d8e8e57ab16593973
parent52345bfa1eda6cf3fcebfd65656a82688a23f656 (diff)
Fixed errors associated with Win32 build warnings.
-rw-r--r--src/glu/mesa/tess.c12
-rw-r--r--src/glu/mesa/tess.h6
2 files changed, 9 insertions, 9 deletions
diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c
index 90c7d55ba80..a262b073602 100644
--- a/src/glu/mesa/tess.c
+++ b/src/glu/mesa/tess.c
@@ -1,4 +1,4 @@
-/* $Id: tess.c,v 1.20.2.3 1999/11/20 02:37:20 gareth Exp $ */
+/* $Id: tess.c,v 1.20.2.4 1999/11/29 18:16:11 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -751,7 +751,7 @@ static void project_current_contour( GLUtesselator *tobj )
GLdouble area;
GLdouble zaxis[3] = { 0.0, 0.0, 1.0 }, znormal[3], xnormal[3];
GLdouble dot, rotx, roty;
- GLuint i;
+ GLint i;
MSG( 15, " -> project_current_contour( tobj:%p )\n", tobj );
@@ -854,7 +854,7 @@ static GLenum save_current_contour( GLUtesselator *tobj )
{
tess_contour_t *current = tobj->current_contour;
tess_vertex_t *vertex;
- GLuint i;
+ GLint i;
if ( current == NULL ) { return GLU_ERROR; }
@@ -896,7 +896,7 @@ static GLenum save_current_contour( GLUtesselator *tobj )
void delete_contour( tess_contour_t **contour )
{
tess_vertex_t *vertex, *next;
- GLuint i;
+ GLint i;
if ( *contour == NULL ) { return; }
@@ -919,7 +919,7 @@ void delete_contour( tess_contour_t **contour )
static void delete_all_contours( GLUtesselator *tobj )
{
tess_contour_t *current, *next_contour;
- GLuint i;
+ GLint i;
if ( tobj->current_contour != NULL ) {
delete_contour( &tobj->current_contour );
@@ -928,7 +928,7 @@ static void delete_all_contours( GLUtesselator *tobj )
for ( current = tobj->contours, i = 0 ; i < tobj->num_contours ; i++ )
{
tess_vertex_t *vertex = current->vertices, *next_vertex;
- GLuint j;
+ GLint j;
for ( j = 0 ; j < current->num_vertices ; j ++ )
{
diff --git a/src/glu/mesa/tess.h b/src/glu/mesa/tess.h
index 21baec0dedf..d46ded855bd 100644
--- a/src/glu/mesa/tess.h
+++ b/src/glu/mesa/tess.h
@@ -1,4 +1,4 @@
-/* $Id: tess.h,v 1.15.2.2 1999/11/27 01:37:17 brianp Exp $ */
+/* $Id: tess.h,v 1.15.2.3 1999/11/29 18:16:11 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -60,11 +60,11 @@ struct GLUtesselator
GLenum winding_rule;
GLdouble tolerance;
tess_plane_t plane;
- GLuint num_contours;
+ GLint num_contours;
tess_contour_t *contours, *last_contour;
tess_contour_t *current_contour;
GLdouble mins[2], maxs[2];
- GLuint num_vertices;
+ GLint num_vertices;
tess_vertex_t **sorted_vertices;
#if 0
tess_grid_t *grid; /* Not currently used... */