diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-11-01 23:45:30 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-11-01 23:45:30 +0000 |
commit | a85fae9cb0ee1f7f24fbf4d41c62fe771673ef2f (patch) | |
tree | df18947016c82856bd791de4e0f425ccb1199746 /src/glu/sgi/libnurbs/interface/glcurveval.cc | |
parent | 034e8641bb2e3a8ff9b313719ba3c44282bf07c1 (diff) | |
download | external_mesa3d-a85fae9cb0ee1f7f24fbf4d41c62fe771673ef2f.zip external_mesa3d-a85fae9cb0ee1f7f24fbf4d41c62fe771673ef2f.tar.gz external_mesa3d-a85fae9cb0ee1f7f24fbf4d41c62fe771673ef2f.tar.bz2 |
silence a bunch of warnings
Diffstat (limited to 'src/glu/sgi/libnurbs/interface/glcurveval.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/interface/glcurveval.cc | 10 |
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 620526f..e1ef227 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); |