Index: trunk/psLib/src/math/psSpline.h
===================================================================
--- trunk/psLib/src/math/psSpline.h	(revision 4991)
+++ trunk/psLib/src/math/psSpline.h	(revision 5066)
@@ -10,6 +10,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-09-11 22:18:40 $
+ *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-09-19 19:53:13 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -35,5 +35,5 @@
 typedef struct
 {
-    int n;                             ///< The number of spline pieces
+    unsigned int n;                    ///< The number of spline pieces
     psPolynomial1D **spline;           ///< An array of n pointers to the spline polynomials
     psVector *knots;                   ///< The boundaries between each spline piece.  Size is n+1.
@@ -51,6 +51,6 @@
  */
 psSpline1D *psSpline1DAlloc(
-    int n,                             ///< Number of spline polynomials
-    int order,                         ///< Order of spline polynomials
+    unsigned int n,                    ///< Number of spline polynomials
+    unsigned int order,                ///< Order of spline polynomials
     float min,                         ///< Lower boundary value of spline polynomials
     float max                          ///< Upper boundary value of spline polynomials
@@ -65,5 +65,5 @@
 psSpline1D *psSpline1DAllocGeneric(
     const psVector *bounds,            ///< Bounds for spline polynomials
-    int order                          ///< Order of spline polynomials
+    unsigned int order                 ///< Order of spline polynomials
 );
 
@@ -91,5 +91,5 @@
  *  @return psS32    corresponding index number of specified value
  */
-psS32 p_psVectorBinDisect(
+unsigned int p_psVectorBinDisect(
     psVector *bins,                    ///< Array of non-decreasing values
     psScalar *x                        ///< Target value to find
@@ -104,5 +104,5 @@
     psVector *domain,                  ///< Domain (x coords) for interpolation
     psVector *range,                   ///< Range (y coords) for interpolation
-    int order,                         ///< Order of interpolation function
+    unsigned int order,                ///< Order of interpolation function
     psScalar *x                        ///< Location at which to evaluate
 );
@@ -126,5 +126,5 @@
  */
 psSpline1D *psVectorFitSpline1D(
-    psSpline1D *mySpline,              ///< The spline which will be generated.
+    psSpline1D *spline,                ///< The spline which will be generated.
     const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
     const psVector* y,                 ///< Coordinates
@@ -135,5 +135,5 @@
     const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
     const psVector* y,                 ///< Coordinates
-    int nKnots
+    unsigned int nKnots                ///< Number of Knots
 );
 
