Avoid a warning from g++ 4.3.
[synfig.git] / ETL / trunk / ETL / _bspline.h
index bad9e86..edc00a7 100644 (file)
@@ -1,7 +1,7 @@
 /*! ========================================================================
 ** Extended Template and Library
 ** B-Spline Class Implementation
-** $Id: _bspline.h,v 1.1.1.1 2005/01/04 01:31:46 darco Exp $
+** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
 **
@@ -116,7 +116,8 @@ public:
                        t=0;
                if(t>=_knots.back())
                        t=_knots.back()-0.0001;
-               for(k=0;_knots[k]>t || _knots[k+1]<=t;k++);
+               for(k=0;_knots[k]>t || _knots[k+1]<=t;k++)
+                 ;
 
                return k;
        }