dri: Rework planar image interface
[mesa.git] / src / glu / sgi / libnurbs / internals / nurbstess.cc
index a5bd060fb0e1a79354538e78357632912f60b6b6..e477a8c83349463ed131f940b6dde075297ddb25 100644 (file)
@@ -505,7 +505,7 @@ NurbsTessellator::do_pwlcurve( O_pwlcurve *o_pwlcurve )
        o_pwlcurve->owner = currentCurve;
     }
 
-    if( (inCurve == 2) ) 
+    if( inCurve == 2 ) 
        endcurve();
 }
 
@@ -675,7 +675,7 @@ NurbsTessellator::do_nurbserror( int msg )
 }
 
 int 
-NurbsTessellator::do_check_knots( Knotvector *knots, char *msg )
+NurbsTessellator::do_check_knots( Knotvector *knots, const char *msg )
 {
     int status = knots->validate();
     if( status ) {