summaryrefslogtreecommitdiff
path: root/src/glu/sgi/libnurbs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-11-01 23:45:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-11-01 23:45:30 +0000
commita85fae9cb0ee1f7f24fbf4d41c62fe771673ef2f (patch)
treedf18947016c82856bd791de4e0f425ccb1199746 /src/glu/sgi/libnurbs
parent034e8641bb2e3a8ff9b313719ba3c44282bf07c1 (diff)
silence a bunch of warnings
Diffstat (limited to 'src/glu/sgi/libnurbs')
-rw-r--r--src/glu/sgi/libnurbs/interface/glcurveval.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glcurveval.cc b/src/glu/sgi/libnurbs/interface/glcurveval.cc
index 620526fea4..e1ef2273b3 100644
--- a/src/glu/sgi/libnurbs/interface/glcurveval.cc
+++ b/src/glu/sgi/libnurbs/interface/glcurveval.cc
@@ -35,8 +35,8 @@
/*
* glcurveval.c++
*
- * $Date: 2001/08/07 17:34:10 $ $Revision: 1.3 $
- * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.3 2001/08/07 17:34:10 brianp Exp $
+ * $Date: 2002/11/01 23:45:30 $ $Revision: 1.4 $
+ * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.4 2002/11/01 23:45:30 brianp Exp $
*/
/* Polynomial Evaluator Interface */
@@ -149,9 +149,9 @@ OpenGLCurveEvaluator::mapgrid1f(long nu, REAL u0, REAL u1)
{
if(output_triangles)
{
- global_grid_u0 = u0;
- global_grid_u1 = u1;
- global_grid_nu = nu;
+ global_grid_u0 = (int) u0;
+ global_grid_u1 = (int) u1;
+ global_grid_nu = (int) nu;
}
else
glMapGrid1f((GLint) nu, (GLfloat) u0, (GLfloat) u1);