Index: trunk/psLib/src/math/psSparse.h
===================================================================
--- trunk/psLib/src/math/psSparse.h	(revision 7380)
+++ trunk/psLib/src/math/psSparse.h	(revision 7550)
@@ -25,16 +25,16 @@
     psVector *Si;                       // Si contains the i-index values of Aij
     psVector *Sj;                       // Sj contains the j-index values of Aij
-    long Nelem;                         // Number of elements
-    long Nrows;                         // Number of rows
+    int Nelem;                         // Number of elements
+    int Nrows;                         // Number of rows
 }
 psSparse;
 
 // allocate a sparse matrix structure
-psSparse *psSparseAlloc(long Nrows, long Nelem);
+psSparse *psSparseAlloc(int Nrows, int Nelem);
 
 // add a new matrix element
 // user should only add elements above the diagonal
 bool psSparseMatrixElement(psSparse *sparse, // Matrix to which to add
-                           long i, long j, // Matrix indices at which to add
+                           int i, int j, // Matrix indices at which to add
                            float value  // Value to add
                           );
@@ -42,5 +42,5 @@
 // define a new sparse matrix equation vector element
 void inline psSparseVectorElement(psSparse *sparse, // Matrix to which to add
-                                  long i,      // Index to add
+                                  int i,      // Index to add
                                   float value  // Value to add
                                  );
