Index: trunk/doc/pslib/psLibSDRS.tex
===================================================================
--- trunk/doc/pslib/psLibSDRS.tex	(revision 4408)
+++ trunk/doc/pslib/psLibSDRS.tex	(revision 4410)
@@ -1,3 +1,3 @@
-%%% $Id: psLibSDRS.tex,v 1.302 2005-06-28 19:52:10 price Exp $
+%%% $Id: psLibSDRS.tex,v 1.303 2005-06-28 21:22:27 price Exp $
 \documentclass[panstarrs,spec]{panstarrs}
 
@@ -4150,5 +4150,5 @@
     psPolynomialType type;              ///< Polynomial type
     psElemType ctype;                   ///< Polynomial precision
-    int n;                              ///< Number of terms
+    unsigned int n;                     ///< Number of terms
     union {
       psF32 *F32;                       ///< Coefficients
@@ -4168,5 +4168,5 @@
     psPolynomialType type;              ///< Polynomial type
     psElemType ctype;                   ///< Polynomial precision
-    int nX, nY;                         ///< Number of terms in x and y
+    unsigned int nX, nY;                ///< Number of terms in x and y
     union {
       psF32 **F32;                      ///< Coefficients
@@ -4199,14 +4199,14 @@
 psPolynomial1D *psPolynomial1DAlloc(psPolynomialType type, 
                                     psElemType ctype, 
-                                    int nX);
+                                    unsigned int nX);
 psPolynomial2D *psPolynomial2DAlloc(psPolynomialType type, 
                                     psElemType ctype, 
-                                    int nX, int nY);
+                                    unsigned int nX, unsigned int nY);
 psPolynomial3D *psPolynomial3DAlloc(psPolynomialType type, 
                                     psElemType ctype, 
-                                    int nX, int nY, int nZ);
+                                    unsigned int nX, unsigned int nY, unsigned int nZ);
 psPolynomial4D *psPolynomial4DAlloc(psPolynomialType type, 
                                     psElemType ctype, 
-                                    int nX, int nY, int nZ, int nT);
+                                    unsigned int nX, unsigned int nY, unsigned int nZ, unsigned int nT);
 \end{prototype}
 where \code{nX}, \code{nY}, etc specify the polynomial order in the
@@ -4266,5 +4266,5 @@
 \begin{datatype}
 typedef struct {
-    int n;                              ///< Number of spline pieces
+    unsigned int n;                     ///< Number of spline pieces
     psPolynomial1D **spline;            ///< Array of n pointers to splines
     psVector *knots;                    ///< The boundaries between each spline piece.  Size is n+1.
@@ -4284,6 +4284,6 @@
 Of course, we require the appropriate constructors and destructor:
 \begin{prototype}
-psSpline1D *psSpline1DAlloc(int n, int order, float min, float max);
-psSpline1D *psSpline1DAllocGeneric(const psVector *bounds, int order);
+psSpline1D *psSpline1DAlloc(unsigned int n, unsigned int order, float min, float max);
+psSpline1D *psSpline1DAllocGeneric(const psVector *bounds, unsigned int order);
 \end{prototype}
 
