Index: trunk/psLib/test/dataManip/tst_psFunc00.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc00.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc00.c	(revision 2204)
@@ -22,5 +22,5 @@
 #define CN 6
 #define DN 8
-int main()
+psS32 main()
 {
     psPolynomial1D *my1DPoly = NULL;
@@ -32,11 +32,11 @@
     psDPolynomial3D *my3DPolyD = NULL;
     psDPolynomial4D *my4DPolyD = NULL;
-    int testStatus      = true;
-    int memLeaks        = 0;
-    int a               = 0;
-    int b               = 0;
-    int c               = 0;
-    int d               = 0;
-    int currentId       = 0;
+    psS32 testStatus      = true;
+    psS32 memLeaks        = 0;
+    psS32 a               = 0;
+    psS32 b               = 0;
+    psS32 c               = 0;
+    psS32 d               = 0;
+    psS32 currentId       = 0;
 
     currentId       = psMemGetId();
Index: trunk/psLib/test/dataManip/tst_psFunc01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc01.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc01.c	(revision 2204)
@@ -13,10 +13,10 @@
 #define MY_STDEV 2.0
 #define N 30
-int main()
+psS32 main()
 {
-    int testStatus = true;
+    psS32 testStatus = true;
     float x = 0.0;
-    int  memLeaks;
-    int  currentId = psMemGetId();
+    psS32  memLeaks;
+    psS32  currentId = psMemGetId();
     psVector *myGaussData = NULL;
     printPositiveTestHeader(stdout,
@@ -52,5 +52,5 @@
 
     myGaussData = psGaussianDev(MY_MEAN, MY_STDEV, N);
-    for (int i = 0; i < N ; i++) {
+    for (psS32 i = 0; i < N ; i++) {
         printf("Gaussian Deviate [%d] is %f\n", i, myGaussData->data.F32[i]);
     }
Index: trunk/psLib/test/dataManip/tst_psFunc02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc02.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc02.c	(revision 2204)
@@ -14,10 +14,10 @@
 #define CUBIC 3
 
-int main()
+psS32 main()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int i;
-    int  currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32 i;
+    psS32  currentId = psMemGetId();
     psSpline1D *tmpSpline;
 
Index: trunk/psLib/test/dataManip/tst_psFunc03.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc03.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc03.c	(revision 2204)
@@ -15,10 +15,10 @@
 #define CUBIC 3
 
-int main()
+psS32 main()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int i;
-    int  currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32 i;
+    psS32  currentId = psMemGetId();
     psSpline1D *tmpSpline;
     psVector *bounds;
Index: trunk/psLib/test/dataManip/tst_psFunc04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc04.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc04.c	(revision 2204)
@@ -17,12 +17,12 @@
 #define N 8
 
-int t00()
+psS32 t00()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int i;
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32 i;
     float x;
     float y;
-    int  currentId = psMemGetId();
+    psS32  currentId = psMemGetId();
     psSpline1D *tmpSpline;
     psVector *data;
@@ -69,12 +69,12 @@
 }
 
-int t01()
+psS32 t01()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int i;
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32 i;
     float x;
     float y;
-    int  currentId = psMemGetId();
+    psS32  currentId = psMemGetId();
     psSpline1D *tmpSpline;
     psVector *data;
@@ -121,5 +121,5 @@
 }
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psFunc05.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc05.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc05.c	(revision 2204)
@@ -18,10 +18,10 @@
 #define SPLINE_ORDER 1
 
-int main()
+psS32 main()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int i;
-    int  currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32 i;
+    psS32  currentId = psMemGetId();
     psSpline1D *tmpSpline;
     psVector *data;
Index: trunk/psLib/test/dataManip/tst_psFunc07.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc07.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psFunc07.c	(revision 2204)
@@ -32,10 +32,10 @@
 }
 
-int t00()
+psS32 t00()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int  currentId = psMemGetId();
-    int i;
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32  currentId = psMemGetId();
+    psS32 i;
     psSpline1D *tmpSpline = NULL;
     psVector *x = NULL;
@@ -101,10 +101,10 @@
 
 // This is the F64 version of the above test code.
-int t01()
+psS32 t01()
 {
-    int testStatus = true;
-    int memLeaks=0;
-    int  currentId = psMemGetId();
-    int i;
+    psS32 testStatus = true;
+    psS32 memLeaks=0;
+    psS32  currentId = psMemGetId();
+    psS32 i;
     psSpline1D *tmpSpline = NULL;
     psVector *x = NULL;
@@ -169,5 +169,5 @@
 }
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psHist00.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psHist00.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psHist00.c	(revision 2204)
@@ -10,13 +10,13 @@
 #define UPPER 30.0
 
-int main()
+psS32 main()
 {
     psHistogram *myHist = NULL;
-    int testStatus      = true;
-    int memLeaks        = 0;
-    int i               = 0;
-    int nb              = 0;
-    int numBins         = 0;
-    int currentId       = 0;
+    psS32 testStatus      = true;
+    psS32 memLeaks        = 0;
+    psS32 i               = 0;
+    psS32 nb              = 0;
+    psS32 numBins         = 0;
+    psS32 currentId       = 0;
 
     currentId       = psMemGetId();
Index: trunk/psLib/test/dataManip/tst_psHist01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psHist01.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psHist01.c	(revision 2204)
@@ -10,14 +10,14 @@
 #define UPPER 30.0
 
-int main()
+psS32 main()
 {
     psHistogram *myHist = NULL;
     psVector *myBounds  = NULL;
-    int testStatus      = true;
-    int memLeaks        = 0;
-    int i               = 0;
-    int nb              = 0;
-    int numBins         = 0;
-    int currentId       = 0;
+    psS32 testStatus      = true;
+    psS32 memLeaks        = 0;
+    psS32 i               = 0;
+    psS32 nb              = 0;
+    psS32 numBins         = 0;
+    psS32 currentId       = 0;
 
     currentId       = psMemGetId();
Index: trunk/psLib/test/dataManip/tst_psHist02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psHist02.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psHist02.c	(revision 2204)
@@ -14,5 +14,5 @@
 #define NUM_DATA 10000
 
-int main()
+psS32 main()
 {
     psHistogram * myHist = NULL;
@@ -20,10 +20,10 @@
     psVector *myData = NULL;
     psVector *myMask = NULL;
-    int testStatus = true;
-    int memLeaks = 0;
-    int nb = 0;
-    int numBins = 0;
-    int i = 0;
-    int currentId = 0;
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
+    psS32 nb = 0;
+    psS32 numBins = 0;
+    psS32 i = 0;
+    psS32 currentId = 0;
 
     currentId = psMemGetId();
Index: trunk/psLib/test/dataManip/tst_psHist03.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psHist03.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psHist03.c	(revision 2204)
@@ -12,15 +12,15 @@
 #define NUM_DATA 20
 
-int main()
+psS32 main()
 {
     psHistogram *myHist = NULL;
     psVector *myBounds  = NULL;
     psVector *myData = psVectorAlloc( NUM_DATA, PS_TYPE_F32 );
-    int testStatus      = true;
-    int memLeaks        = 0;
-    int i               = 0;
-    int nb              = 0;
-    int numBins         = 0;
-    int currentId       = 0;
+    psS32 testStatus      = true;
+    psS32 memLeaks        = 0;
+    psS32 i               = 0;
+    psS32 nb              = 0;
+    psS32 numBins         = 0;
+    psS32 currentId       = 0;
 
     currentId       = psMemGetId();
Index: trunk/psLib/test/dataManip/tst_psMatrix01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix01.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix01.c	(revision 2204)
@@ -11,6 +11,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-08-06 22:34:06 $
+*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-10-27 00:57:33 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -22,6 +22,6 @@
 
 #define PRINT_MATRIX(IMAGE)                         \
-for(int i=IMAGE->numRows-1; i>-1; i--) {        \
-    for(int j=0; j<IMAGE->numCols; j++) {       \
+for(psS32 i=IMAGE->numRows-1; i>-1; i--) {        \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {       \
         printf("%f ", IMAGE->data.F64[i][j]);   \
     }                                          \
@@ -29,6 +29,6 @@
 }
 
-int main( int argc,
-          char* argv[] )
+psS32 main( psS32 argc,
+            char* argv[] )
 {
     psImage * tempImage = NULL;
@@ -79,9 +79,9 @@
     psFree( outImage );
     psFree( outImageNull );
-    int nLeaks = psMemCheckLeaks( 0, NULL, stdout );
+    psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout );
     if ( nLeaks != 0 ) {
         printf( "ERROR: Found %d memory leaks\n", nLeaks );
     }
-    int nBad = psMemCheckCorruption( 0 );
+    psS32 nBad = psMemCheckCorruption( 0 );
     if ( nBad ) {
         printf( "ERROR: Found %d bad memory blocks\n", nBad );
Index: trunk/psLib/test/dataManip/tst_psMatrix02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix02.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix02.c	(revision 2204)
@@ -13,6 +13,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-08-06 22:34:06 $
+ *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -23,6 +23,6 @@
 #include "psTest.h"
 
-int main(int argc,
-         char* argv[])
+psS32 main(psS32 argc,
+           char* argv[])
 {
     psImage *nullImage = NULL;
Index: trunk/psLib/test/dataManip/tst_psMatrix03.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix03.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix03.c	(revision 2204)
@@ -14,6 +14,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-08-06 22:34:06 $
+ *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -25,6 +25,6 @@
 
 #define PRINT_MATRIX(IMAGE)                     \
-for(int i=IMAGE->numRows-1; i>-1; i--) {        \
-    for(int j=0; j<IMAGE->numCols; j++) {       \
+for(psS32 i=IMAGE->numRows-1; i>-1; i--) {        \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {       \
         printf("%f ", IMAGE->data.F64[i][j]);   \
     }                                           \
@@ -33,11 +33,11 @@
 \
 #define PRINT_VECTOR(VECTOR)                    \
-for(int i=0; i<VECTOR->n; i++) {                \
+for(psS32 i=0; i<VECTOR->n; i++) {                \
     printf("%f\n", VECTOR->data.F64[i]);        \
 }
 
 
-int main(int argc,
-         char* argv[])
+psS32 main(psS32 argc,
+           char* argv[])
 {
     psImage *luImage = NULL;
@@ -112,5 +112,5 @@
     psFree(inVector);
     psMemCheckLeaks(0, NULL, stdout);
-    int nBad = psMemCheckCorruption(0);
+    psS32 nBad = psMemCheckCorruption(0);
     if(nBad) {
         printf("ERROR: Found %d bad memory blocks\n", nBad);
Index: trunk/psLib/test/dataManip/tst_psMatrix04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix04.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix04.c	(revision 2204)
@@ -13,6 +13,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-08-06 22:34:06 $
+ *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -24,6 +24,6 @@
 
 #define PRINT_MATRIX(IMAGE)                         \
-for(int i=IMAGE->numRows-1; i>-1; i--) {            \
-    for(int j=0; j<IMAGE->numCols; j++) {           \
+for(psS32 i=IMAGE->numRows-1; i>-1; i--) {            \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {           \
         printf("%f ", IMAGE->data.F64[i][j]);       \
     }                                               \
@@ -32,6 +32,6 @@
 
 
-int main(int argc,
-         char* argv[])
+psS32 main(psS32 argc,
+           char* argv[])
 {
     float det = 0.0f;
@@ -87,5 +87,5 @@
     psFree(det2);
     psMemCheckLeaks(0, NULL, stdout);
-    int nBad = psMemCheckCorruption(0);
+    psS32 nBad = psMemCheckCorruption(0);
     if(nBad) {
         printf("ERROR: Found %d bad memory blocks\n", nBad);
Index: trunk/psLib/test/dataManip/tst_psMatrix05.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix05.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix05.c	(revision 2204)
@@ -10,6 +10,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-08-06 22:34:06 $
+*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-10-27 00:57:33 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -21,6 +21,6 @@
 
 #define PRINT_MATRIX(IMAGE)                         \
-for(int i=0; i<IMAGE->numRows; i++) {           \
-    for(int j=0; j<IMAGE->numCols; j++) {       \
+for(psS32 i=0; i<IMAGE->numRows; i++) {           \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {       \
         printf("%f ", IMAGE->data.F64[i][j]);   \
     }                                          \
@@ -29,6 +29,6 @@
 
 
-int main( int argc,
-          char* argv[] )
+psS32 main( psS32 argc,
+            char* argv[] )
 {
     psImage * outImage = NULL;
@@ -68,9 +68,9 @@
     psFree( inImage1 );
     psFree( inImage2 );
-    int nLeaks = psMemCheckLeaks( 0, NULL, stdout );
+    psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout );
     if ( nLeaks != 0 ) {
         printf( "ERROR: Found %d memory leaks\n", nLeaks );
     }
-    int nBad = psMemCheckCorruption( 0 );
+    psS32 nBad = psMemCheckCorruption( 0 );
     if ( nBad ) {
         printf( "ERROR: Found %d bad memory blocks\n", nBad );
Index: trunk/psLib/test/dataManip/tst_psMatrix06.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix06.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix06.c	(revision 2204)
@@ -10,6 +10,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-08-06 22:34:06 $
+*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-10-27 00:57:33 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -21,6 +21,6 @@
 
 #define PRINT_MATRIX(IMAGE)                         \
-for(int i=0; i<IMAGE->numRows; i++) {           \
-    for(int j=0; j<IMAGE->numCols; j++) {       \
+for(psS32 i=0; i<IMAGE->numRows; i++) {           \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {       \
         printf("%f ", IMAGE->data.F64[i][j]);   \
     }                                          \
@@ -29,6 +29,6 @@
 
 
-int main( int argc,
-          char* argv[] )
+psS32 main( psS32 argc,
+            char* argv[] )
 {
     psImage * outImage = NULL;
@@ -76,9 +76,9 @@
     psFree( outImage );
     psFree( inImage );
-    int nLeaks = psMemCheckLeaks( 0, NULL, stdout );
+    psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout );
     if ( nLeaks != 0 ) {
         printf( "ERROR: Found %d memory leaks\n", nLeaks );
     }
-    int nBad = psMemCheckCorruption( 0 );
+    psS32 nBad = psMemCheckCorruption( 0 );
     if ( nBad ) {
         printf( "ERROR: Found %d bad memory blocks\n", nBad );
Index: trunk/psLib/test/dataManip/tst_psMatrix07.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix07.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrix07.c	(revision 2204)
@@ -16,6 +16,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-08-06 22:34:06 $
+ *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -27,6 +27,6 @@
 
 #define PRINT_MATRIX(IMAGE)                         \
-for(int i=0; i<IMAGE->numRows; i++) {               \
-    for(int j=0; j<IMAGE->numCols; j++) {           \
+for(psS32 i=0; i<IMAGE->numRows; i++) {               \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {           \
         printf("%f ", IMAGE->data.F64[i][j]);       \
     }                                               \
@@ -35,11 +35,11 @@
 
 #define PRINT_VECTOR(VECTOR)                        \
-for(int i=0; i<VECTOR->n; i++) {                    \
+for(psS32 i=0; i<VECTOR->n; i++) {                    \
     printf("%f\n", VECTOR->data.F64[i]);            \
 }
 
 
-int main(int argc,
-         char* argv[])
+psS32 main(psS32 argc,
+           char* argv[])
 {
     psVector *v1 = NULL;
@@ -169,5 +169,5 @@
     psFree(badImage);
     psMemCheckLeaks(0, NULL, stdout);
-    int nBad = psMemCheckCorruption(0);
+    psS32 nBad = psMemCheckCorruption(0);
     if(nBad) {
         printf("ERROR: Found %d bad memory blocks\n", nBad);
Index: trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic01.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic01.c	(revision 2204)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-08-27 23:31:22 $
+ *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -24,5 +24,5 @@
     printf("%f+%fi ", creal(SCALAR->data.TYPE), cimag(SCALAR->data.TYPE));                               \
 } else if(PS_IS_PSELEMTYPE_INT(SCALAR->type.type)) {                                                     \
-    printf("%d ", (int)SCALAR->data.TYPE);                                                               \
+    printf("%d ", (psS32)SCALAR->data.TYPE);                                                               \
 } else {                                                                                                 \
     printf("%f ", (double)SCALAR->data.TYPE);                                                            \
@@ -31,9 +31,9 @@
 
 #define PRINT_VECTOR(VECTOR,TYPE)                                                                            \
-for(int i=0; i<VECTOR->n; i++) {                                                                         \
+for(psS32 i=0; i<VECTOR->n; i++) {                                                                         \
     if(PS_IS_PSELEMTYPE_COMPLEX(VECTOR->type.type)) {                                                    \
         printf("%f+%fi ", creal(VECTOR->data.TYPE[i]), cimag(VECTOR->data.TYPE[i]));                     \
     } else if(PS_IS_PSELEMTYPE_INT(VECTOR->type.type)) {                                                 \
-        printf("%d ", (int)VECTOR->data.TYPE[i]);                                                        \
+        printf("%d ", (psS32)VECTOR->data.TYPE[i]);                                                        \
     } else {                                                                                             \
         printf("%f ", (double)VECTOR->data.TYPE[i]);                                                     \
@@ -44,10 +44,10 @@
 
 #define PRINT_MATRIX(IMAGE,TYPE)                                                                             \
-for(int i=IMAGE->numRows-1; i>-1; i--) {                                                                 \
-    for(int j=0; j<IMAGE->numCols; j++) {                                                                \
+for(psS32 i=IMAGE->numRows-1; i>-1; i--) {                                                                 \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {                                                                \
         if(PS_IS_PSELEMTYPE_COMPLEX(IMAGE->type.type)) {                                                 \
             printf("%f+%fi ", creal(IMAGE->data.TYPE[i][j]), cimag(IMAGE->data.TYPE[i][j]));             \
         } else if(PS_IS_PSELEMTYPE_INT(IMAGE->type.type)) {                                              \
-            printf("%d ", (int)IMAGE->data.TYPE[i][j]);                                                  \
+            printf("%d ", (psS32)IMAGE->data.TYPE[i][j]);                                                  \
         } else {                                                                                         \
             printf("%f ", (double)IMAGE->data.TYPE[i][j]);                                               \
@@ -61,5 +61,5 @@
 #define CREATE_AND_SET_VECTOR(NAME,TYPE,VALUE,SIZE)                                                          \
 psVector *NAME = (psVector*)psVectorAlloc(SIZE, PS_TYPE_##TYPE);                                         \
-for(int i=0; i<SIZE; i++) {                                                                              \
+for(psS32 i=0; i<SIZE; i++) {                                                                              \
     NAME->data.TYPE[i] = VALUE;                                                                          \
 }                                                                                                        \
@@ -69,6 +69,6 @@
 #define CREATE_AND_SET_IMAGE(NAME,TYPE,VALUE,NROWS,NCOLS)                                                    \
 psImage *NAME = (psImage*)psImageAlloc(NCOLS,NROWS,PS_TYPE_##TYPE);                                      \
-for(int i=0; i<NAME->numRows; i++) {                                                                     \
-    for(int j=0; j<NAME->numCols; j++) {                                                                 \
+for(psS32 i=0; i<NAME->numRows; i++) {                                                                     \
+    for(psS32 j=0; j<NAME->numCols; j++) {                                                                 \
         NAME->data.TYPE[i][j] = VALUE;                                                                   \
     }                                                                                                    \
@@ -78,5 +78,5 @@
 #define CHECK_MEMORY                                                                                         \
 psMemCheckLeaks(0, NULL, stdout);                                                                        \
-int nBad = psMemCheckCorruption(0);                                                                      \
+psS32 nBad = psMemCheckCorruption(0);                                                                      \
 if(nBad) {                                                                                               \
     printf("ERROR: Found %d bad memory blocks\n", nBad);                                                 \
@@ -84,5 +84,5 @@
 
 
-int main(int argc, char* argv[])
+psS32 main(psS32 argc, char* argv[])
 {
 
Index: trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c	(revision 2204)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-12 20:50:40 $
+ *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -24,5 +24,5 @@
 
 #define CHECK_VECTOR(VECTOR,TYPE,TRUTH)                                                                      \
-for(int i=0; i<VECTOR->n; i++) {                                                                             \
+for(psS32 i=0; i<VECTOR->n; i++) {                                                                             \
     if(cabs(VECTOR->data.TYPE[i])-cabs(TRUTH) > FLT_EPSILON){                                                \
         printf("ERROR:Truth and calculated values don't match for vector operation:\n");                     \
@@ -31,6 +31,6 @@
             printf("Calculated: %.2f%+.2fi\n", creal(TRUTH), cimag(TRUTH));                                  \
         } else if(PS_IS_PSELEMTYPE_INT(VECTOR->type.type)) {                                                 \
-            printf("Truth: %d\n", (int)(VECTOR->data.TYPE[i]));                                              \
-            printf("Calculated: %d\n", (int)(TRUTH));                                                        \
+            printf("Truth: %d\n", (psS32)(VECTOR->data.TYPE[i]));                                              \
+            printf("Calculated: %d\n", (psS32)(TRUTH));                                                        \
         } else {                                                                                             \
             printf("Truth: %.2f\n", (double)(VECTOR->data.TYPE[i]));                                         \
@@ -43,6 +43,6 @@
 
 #define CHECK_MATRIX(IMAGE,TYPE,TRUTH)                                                                       \
-for(int i=IMAGE->numRows-1; i>-1; i--) {                                                                     \
-    for(int j=0; j<IMAGE->numCols; j++) {                                                                    \
+for(psS32 i=IMAGE->numRows-1; i>-1; i--) {                                                                     \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {                                                                    \
         if(cabs(IMAGE->data.TYPE[i][j])-cabs(TRUTH) > FLT_EPSILON){                                          \
             printf("ERROR:Truth and calculated values don't match for matrix operation:\n");                 \
@@ -51,6 +51,6 @@
                 printf("Calculated: %.2f%+.2fi\n", creal(TRUTH), cimag(TRUTH));                              \
             } else if(PS_IS_PSELEMTYPE_INT(IMAGE->type.type)) {                                              \
-                printf("Truth: %d\n", (int)(IMAGE->data.TYPE[i][j]));                                        \
-                printf("Calculated: %d\n", (int)(TRUTH));                                                    \
+                printf("Truth: %d\n", (psS32)(IMAGE->data.TYPE[i][j]));                                        \
+                printf("Calculated: %d\n", (psS32)(TRUTH));                                                    \
             } else {                                                                                         \
                 printf("Truth: %.2f\n", (double)(IMAGE->data.TYPE[i][j]));                                   \
@@ -66,5 +66,5 @@
 #define CREATE_AND_SET_VECTOR(NAME,TYPE,VALUE,SIZE)                                                          \
 psVector *NAME = (psVector*)psVectorAlloc(SIZE, PS_TYPE_##TYPE);                                             \
-for(int i=0; i<SIZE; i++) {                                                                                  \
+for(psS32 i=0; i<SIZE; i++) {                                                                                  \
     NAME->data.TYPE[i] = VALUE;                                                                              \
 }                                                                                                            \
@@ -74,6 +74,6 @@
 #define CREATE_AND_SET_IMAGE(NAME,TYPE,VALUE,NROWS,NCOLS)                                                    \
 psImage *NAME = (psImage*)psImageAlloc(NCOLS,NROWS,PS_TYPE_##TYPE);                                          \
-for(int i=0; i<NAME->numRows; i++) {                                                                         \
-    for(int j=0; j<NAME->numCols; j++) {                                                                     \
+for(psS32 i=0; i<NAME->numRows; i++) {                                                                         \
+    for(psS32 j=0; j<NAME->numCols; j++) {                                                                     \
         NAME->data.TYPE[i][j] = VALUE;                                                                       \
     }                                                                                                        \
@@ -86,5 +86,5 @@
     return 50; \
 } \
-int nBad = psMemCheckCorruption(0); \
+psS32 nBad = psMemCheckCorruption(0); \
 if(nBad) { \
     psError(__func__,"ERROR: Found %d bad memory blocks\n", nBad); \
@@ -93,5 +93,5 @@
 
 
-int main( int argc, char* argv[] )
+psS32 main( psS32 argc, char* argv[] )
 {
 
Index: trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic03.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic03.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic03.c	(revision 2204)
@@ -15,6 +15,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-12 19:18:20 $
+ *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-10-27 00:57:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -27,9 +27,9 @@
 
 #define PRINT_VECTOR(VECTOR,TYPE)                                                                            \
-for(int i=0; i<VECTOR->n; i++) {                                                                         \
+for(psS32 i=0; i<VECTOR->n; i++) {                                                                         \
     if(PS_IS_PSELEMTYPE_COMPLEX(VECTOR->type.type)) {                                                    \
         printf("%f+%fi ", creal(VECTOR->data.TYPE[i]), cimag(VECTOR->data.TYPE[i]));                     \
     } else if(PS_IS_PSELEMTYPE_INT(VECTOR->type.type)) {                                                 \
-        printf("%d ", (int)VECTOR->data.TYPE[i]);                                                        \
+        printf("%d ", (psS32)VECTOR->data.TYPE[i]);                                                        \
     } else {                                                                                             \
         printf("%f ", (double)VECTOR->data.TYPE[i]);                                                     \
@@ -40,10 +40,10 @@
 
 #define PRINT_MATRIX(IMAGE,TYPE)                                                                             \
-for(int i=IMAGE->numRows-1; i>-1; i--) {                                                                 \
-    for(int j=0; j<IMAGE->numCols; j++) {                                                                \
+for(psS32 i=IMAGE->numRows-1; i>-1; i--) {                                                                 \
+    for(psS32 j=0; j<IMAGE->numCols; j++) {                                                                \
         if(PS_IS_PSELEMTYPE_COMPLEX(IMAGE->type.type)) {                                                 \
             printf("%f+%fi ", creal(IMAGE->data.TYPE[i][j]), cimag(IMAGE->data.TYPE[i][j]));             \
         } else if(PS_IS_PSELEMTYPE_INT(IMAGE->type.type)) {                                              \
-            printf("%d ", (int)IMAGE->data.TYPE[i][j]);                                                  \
+            printf("%d ", (psS32)IMAGE->data.TYPE[i][j]);                                                  \
         } else {                                                                                         \
             printf("%f ", (double)IMAGE->data.TYPE[i][j]);                                               \
@@ -57,5 +57,5 @@
 #define CREATE_AND_SET_VECTOR(NAME,TYPE,VALUE,SIZE)                                                          \
 psVector *NAME = (psVector*)psVectorAlloc(SIZE, PS_TYPE_##TYPE);                                         \
-for(int i=0; i<SIZE; i++) {                                                                              \
+for(psS32 i=0; i<SIZE; i++) {                                                                              \
     NAME->data.TYPE[i] = VALUE;                                                                          \
 }                                                                                                        \
@@ -65,6 +65,6 @@
 #define CREATE_AND_SET_IMAGE(NAME,TYPE,VALUE,NROWS,NCOLS)                                                    \
 psImage *NAME = (psImage*)psImageAlloc(NCOLS,NROWS,PS_TYPE_##TYPE);                                      \
-for(int i=0; i<NAME->numRows; i++) {                                                                     \
-    for(int j=0; j<NAME->numCols; j++) {                                                                 \
+for(psS32 i=0; i<NAME->numRows; i++) {                                                                     \
+    for(psS32 j=0; j<NAME->numCols; j++) {                                                                 \
         NAME->data.TYPE[i][j] = VALUE;                                                                   \
     }                                                                                                    \
@@ -72,5 +72,5 @@
 
 
-int main(int argc, char* argv[])
+psS32 main(psS32 argc, char* argv[])
 {
     CREATE_AND_SET_IMAGE(image1,F64,0,3,3);
Index: trunk/psLib/test/dataManip/tst_psMinimize00.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize00.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize00.c	(revision 2204)
@@ -36,5 +36,5 @@
 float myFuncDeriv(const psVector *restrict myData,
                   const psVector *restrict myParams,
-                  int whichParamDeriv)
+                  psS32 whichParamDeriv)
 {
     float x = myData->data.F32[0];
@@ -65,5 +65,5 @@
 
 
-int main()
+psS32 main()
 {
     psImage *domain = NULL;
@@ -74,9 +74,9 @@
     psVector *tmpVecPtr = NULL;
     float chiSq = 0.0;
-    int i = 0;
-    int j = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 j = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     psVector *theParams = NULL;
 
Index: trunk/psLib/test/dataManip/tst_psMinimize01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize01.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize01.c	(revision 2204)
@@ -35,5 +35,5 @@
 float myFuncDeriv(const psVector *restrict myData,
                   const psVector *restrict myParams,
-                  int whichParamDeriv)
+                  psS32 whichParamDeriv)
 {
     float x = myData->data.F32[0];
@@ -58,5 +58,5 @@
 }
 
-int main()
+psS32 main()
 {
     psImage *domain = NULL;
@@ -67,9 +67,9 @@
     psVector *tmpVecPtr = NULL;
     float chiSq = 0.0;
-    int i = 0;
+    psS32 i = 0;
     psVector *theParams = NULL;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     domain = psImageAlloc(DATA_WIDTH, NUM_DATA, PS_TYPE_F32);
Index: trunk/psLib/test/dataManip/tst_psMinimize02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize02.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize02.c	(revision 2204)
@@ -34,5 +34,5 @@
 float myFuncDeriv0(const psVector *restrict myParams,
                    const psVector *restrict myCoords,
-                   int whichParamDeriv)
+                   psS32 whichParamDeriv)
 {
     float P0 = myCoords->data.F32[0];
@@ -75,5 +75,5 @@
 float myFuncDeriv(const psVector *restrict myParams,
                   const psVector *restrict myCoords,
-                  int whichParamDeriv)
+                  psS32 whichParamDeriv)
 {
     float x = myCoords->data.F32[0];
@@ -104,13 +104,13 @@
 
 
-int main()
+psS32 main()
 {
     psVector *initialGuess = NULL;
     psVector *paramMask = NULL;
     psVector *coord = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     psVector *theParams = NULL;
 
Index: trunk/psLib/test/dataManip/tst_psMinimize03.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize03.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize03.c	(revision 2204)
@@ -34,5 +34,5 @@
 float myFuncDeriv0(const psVector *restrict myParams,
                    const psVector *restrict myCoords,
-                   int whichParamDeriv)
+                   psS32 whichParamDeriv)
 {
     float P0 = myCoords->data.F32[0];
@@ -75,5 +75,5 @@
 float myFuncDeriv(const psVector *restrict myParams,
                   const psVector *restrict myCoords,
-                  int whichParamDeriv)
+                  psS32 whichParamDeriv)
 {
     float x = myCoords->data.F32[0];
@@ -104,13 +104,13 @@
 
 
-int main()
+psS32 main()
 {
     psVector *initialGuess = NULL;
     psVector *paramMask = NULL;
     psVector *coord = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     psVector *theParams = NULL;
 
Index: trunk/psLib/test/dataManip/tst_psMinimize04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize04.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize04.c	(revision 2204)
@@ -33,5 +33,5 @@
 }
 
-int t00()
+psS32 t00()
 {
     psPolynomial1D *myPoly = NULL;
@@ -39,8 +39,8 @@
     psVector *y = NULL;
     psVector *yErr = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     double expectData;
     double actualData;
@@ -101,13 +101,13 @@
 }
 
-int t01()
+psS32 t01()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *x = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     double expectData;
     double actualData;
@@ -164,12 +164,12 @@
 }
 
-int t02()
+psS32 t02()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     double expectData;
     double actualData;
@@ -223,9 +223,9 @@
 }
 
-int t03()
-{
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+psS32 t03()
+{
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     psPolynomial1D *myPoly = NULL;
 
@@ -257,5 +257,5 @@
 
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psMinimize04_F32.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize04_F32.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize04_F32.c	(revision 2204)
@@ -33,5 +33,5 @@
 }
 
-int t00()
+psS32 t00()
 {
     psPolynomial1D *myPoly = NULL;
@@ -39,8 +39,8 @@
     psVector *y = NULL;
     psVector *yErr = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     float expectData;
     float actualData;
@@ -100,13 +100,13 @@
 }
 
-int t01()
+psS32 t01()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *x = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     float expectData;
     float actualData;
@@ -163,12 +163,12 @@
 }
 
-int t02()
+psS32 t02()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
     float expectData;
     float actualData;
@@ -222,9 +222,9 @@
 }
 
-int t03()
-{
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+psS32 t03()
+{
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     printPositiveTestHeader(stdout,
@@ -251,5 +251,5 @@
 
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psMinimize04b.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize04b.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize04b.c	(revision 2204)
@@ -26,5 +26,5 @@
 }
 
-int t00()
+psS32 t00()
 {
     psPolynomial1D *myPoly = NULL;
@@ -32,8 +32,8 @@
     psVector *y = NULL;
     psVector *yErr = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_CHEB);
@@ -95,13 +95,13 @@
 
 
-int t01()
+psS32 t01()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *x = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_CHEB);
@@ -155,13 +155,13 @@
 
 
-int t02()
+psS32 t02()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *x = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_CHEB);
@@ -214,10 +214,10 @@
 }
 
-int t03()
-{
-    psPolynomial1D *myPoly = NULL;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+psS32 t03()
+{
+    psPolynomial1D *myPoly = NULL;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     printPositiveTestHeader(stdout,
@@ -244,5 +244,5 @@
 }
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psMinimize04b_F32.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize04b_F32.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize04b_F32.c	(revision 2204)
@@ -26,5 +26,5 @@
 }
 
-int t00()
+psS32 t00()
 {
     psPolynomial1D *myPoly = NULL;
@@ -32,8 +32,8 @@
     psVector *y = NULL;
     psVector *yErr = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_CHEB);
@@ -95,13 +95,13 @@
 
 
-int t01()
+psS32 t01()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *x = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_CHEB);
@@ -155,13 +155,13 @@
 
 
-int t02()
+psS32 t02()
 {
     psPolynomial1D *myPoly = NULL;
     psVector *x = NULL;
     psVector *y = NULL;
-    int i = 0;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+    psS32 i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_CHEB);
@@ -214,10 +214,10 @@
 }
 
-int t03()
-{
-    psPolynomial1D *myPoly = NULL;
-    int currentId = psMemGetId();
-    int testStatus = true;
-    int memLeaks = 0;
+psS32 t03()
+{
+    psPolynomial1D *myPoly = NULL;
+    psS32 currentId = psMemGetId();
+    psS32 testStatus = true;
+    psS32 memLeaks = 0;
 
     printPositiveTestHeader(stdout,
@@ -244,5 +244,5 @@
 }
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psMinimize05.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize05.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize05.c	(revision 2204)
@@ -15,5 +15,5 @@
 #define ERROR_TOLERANCE 0.10
 float expectedParm[NUM_PARAMS];
-int testStatus = true;
+psS32 testStatus = true;
 
 /*****************************************************************************
@@ -32,5 +32,5 @@
     float coordData = 0.0;
     float expData = 0.0;
-    int i;
+    psS32 i;
 
     for (i=0;i<N;i++) {
@@ -62,9 +62,9 @@
 
 
-int t00()
-{
-    int currentId = psMemGetId();
-    int memLeaks = 0;
-    int i = 0;
+psS32 t00()
+{
+    psS32 currentId = psMemGetId();
+    psS32 memLeaks = 0;
+    psS32 i = 0;
     psArray *myCoords;
     psVector *myParams;
@@ -81,5 +81,5 @@
     myCoords = psArrayAlloc(N);
     for (i=0;i<N;i++) {
-        myCoords->data[i] = (psPTR *) psVectorAlloc(2, PS_TYPE_F32);
+        myCoords->data[i] = (psPtr *) psVectorAlloc(2, PS_TYPE_F32);
         ((psVector *) (myCoords->data[i]))->data.F32[0] = (float) (i+10);
         ((psVector *) (myCoords->data[i]))->data.F32[1] = (float) (i+3);
@@ -137,9 +137,9 @@
 }
 
-int t01()
-{
-    int currentId = psMemGetId();
-    int memLeaks = 0;
-    int i = 0;
+psS32 t01()
+{
+    psS32 currentId = psMemGetId();
+    psS32 memLeaks = 0;
+    psS32 i = 0;
     psArray *myCoords;
     psVector *myParams;
@@ -154,5 +154,5 @@
     myCoords = psArrayAlloc(N);
     for (i=0;i<N;i++) {
-        myCoords->data[i] = (psPTR *) psVectorAlloc(2, PS_TYPE_F32);
+        myCoords->data[i] = (psPtr *) psVectorAlloc(2, PS_TYPE_F32);
         ((psVector *) (myCoords->data[i]))->data.F32[0] = (float) (i+10);
         ((psVector *) (myCoords->data[i]))->data.F32[1] = (float) (i+3);
@@ -208,9 +208,9 @@
 }
 
-int t02()
-{
-    int currentId = psMemGetId();
-    int memLeaks = 0;
-    int i = 0;
+psS32 t02()
+{
+    psS32 currentId = psMemGetId();
+    psS32 memLeaks = 0;
+    psS32 i = 0;
     psArray *myCoords;
     psVector *myParams;
@@ -227,5 +227,5 @@
     myCoords = psArrayAlloc(N);
     for (i=0;i<N;i++) {
-        myCoords->data[i] = (psPTR *) psVectorAlloc(2, PS_TYPE_F32);
+        myCoords->data[i] = (psPtr *) psVectorAlloc(2, PS_TYPE_F32);
         ((psVector *) (myCoords->data[i]))->data.F32[0] = (float) (i+10);
         ((psVector *) (myCoords->data[i]))->data.F32[1] = (float) (i+3);
@@ -269,5 +269,5 @@
 }
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psMinimize06.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize06.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psMinimize06.c	(revision 2204)
@@ -12,5 +12,5 @@
 #define NUM_PARAMS 3
 float expectedParm[NUM_PARAMS];
-int testStatus = true;
+psS32 testStatus = true;
 
 /*****************************************************************************
@@ -29,6 +29,6 @@
 {
     psVector *sum = psVectorAlloc(myCoords->n, PS_TYPE_F32);
-    int i;
-    int j;
+    psS32 i;
+    psS32 j;
 
 
@@ -52,9 +52,9 @@
 }
 
-int t01()
+psS32 t01()
 {
-    int currentId = psMemGetId();
-    int memLeaks = 0;
-    int i = 0;
+    psS32 currentId = psMemGetId();
+    psS32 memLeaks = 0;
+    psS32 i = 0;
     psArray *myCoords;
     psVector *myParams;
@@ -73,5 +73,5 @@
 
     for (i=0;i<N;i++) {
-        myCoords->data[i] = (psPTR *) psVectorAlloc(2, PS_TYPE_F32);
+        myCoords->data[i] = (psPtr *) psVectorAlloc(2, PS_TYPE_F32);
         ((psVector *) (myCoords->data[i]))->data.F32[0] = (float) (i+10);
         ((psVector *) (myCoords->data[i]))->data.F32[1] = (float) (i+3);
@@ -115,5 +115,5 @@
 }
 
-int main()
+psS32 main()
 {
     t01();
Index: trunk/psLib/test/dataManip/tst_psStats00.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats00.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats00.c	(revision 2204)
@@ -8,11 +8,11 @@
 #define N 10
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
     psStats *myStats2    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
@@ -20,7 +20,7 @@
     float realMeanNoMask   = 0.0;
     float realMeanWithMask = 0.0;
-    int count           = 0;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 count           = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats01.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats01.c	(revision 2204)
@@ -8,10 +8,10 @@
 #define N 10
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
@@ -19,6 +19,6 @@
     float realMaxNoMask   = 0.0;
     float realMaxWithMask = 0.0;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats02.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats02.c	(revision 2204)
@@ -8,10 +8,10 @@
 #define N 10
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
@@ -19,6 +19,6 @@
     float realMinNoMask   = 1e99;
     float realMinWithMask = 1e99;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats03.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats03.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats03.c	(revision 2204)
@@ -9,10 +9,10 @@
 #define N ((4 * N1) + 1)
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
@@ -20,6 +20,6 @@
     float realMedianWithMask = (float) (N-3)/4;
     float realMedianNoMask = (float) (N-1)/2;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats04.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats04.c	(revision 2204)
@@ -12,9 +12,9 @@
 #define N ((4 * N1) + 1)
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
Index: trunk/psLib/test/dataManip/tst_psStats05.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats05.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats05.c	(revision 2204)
@@ -8,10 +8,10 @@
 #define MISC_FLOAT_NUMBER 345.0
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 testStatus      = true;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats06.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats06.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats06.c	(revision 2204)
@@ -12,10 +12,10 @@
 #define N 15
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
@@ -26,7 +26,7 @@
     float realStdevNoMask   = 4.472136;
     float realStdevWithMask = 2.160247;
-    int count           = 0;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 count           = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats07.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats07.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats07.c	(revision 2204)
@@ -15,10 +15,10 @@
 #define ERROR_TOLERANCE 0.10
 
-int t00()
+psS32 t00()
 {
     psStats * myStats = NULL;
-    int testStatus = true;
-    int globalTestStatus = true;
-    int i = 0;
+    psS32 testStatus = true;
+    psS32 globalTestStatus = true;
+    psS32 i = 0;
     psVector *myVector = NULL;
     psVector *maskVector = NULL;
@@ -26,7 +26,7 @@
     // They must be changed if we adjust the number of data points.
     // We don't really know that they are correct.
-    int count = 0;
-    int currentId = psMemGetId();
-    int memLeaks = 0;
+    psS32 count = 0;
+    psS32 currentId = psMemGetId();
+    psS32 memLeaks = 0;
     float realMeanNoMask = MEAN;
     float realMedianNoMask = MEAN;
@@ -35,6 +35,6 @@
     float realLQNoMask = MEAN - ( 0.6 * STDEV );
     float realUQNoMask = MEAN + ( 0.6 * STDEV );
-    int realN50NoMask = N / 4;
-    int realNfitNoMask = N / 4;
+    psS32 realN50NoMask = N / 4;
+    psS32 realNfitNoMask = N / 4;
 
     psTraceSetLevel(".psLib.dataManip.psStats", 10);
@@ -253,10 +253,10 @@
 
 
-int t01()
+psS32 t01()
 {
     psStats * myStats = NULL;
-    int testStatus = true;
-    int globalTestStatus = true;
-    int i = 0;
+    psS32 testStatus = true;
+    psS32 globalTestStatus = true;
+    psS32 i = 0;
     psVector *myVector = NULL;
     psVector *maskVector = NULL;
@@ -264,7 +264,7 @@
     // A: They must be changed if we adjust the number of data points.
     // B: We don't really know that they are correct.
-    int count = 0;
-    int currentId = psMemGetId();
-    int memLeaks = 0;
+    psS32 count = 0;
+    psS32 currentId = psMemGetId();
+    psS32 memLeaks = 0;
     float realMeanWithMask = MEAN;
     float realMedianWithMask = MEAN;
@@ -273,6 +273,6 @@
     float realLQWithMask = MEAN;
     float realUQWithMask = MEAN;
-    int realN50WithMask = N / 4;
-    int realNfitWithMask = N / 4;
+    psS32 realN50WithMask = N / 4;
+    psS32 realNfitWithMask = N / 4;
 
     psTraceSetLevel(".psLib.dataManip.psStats", 10);
@@ -487,5 +487,5 @@
 }
 
-int main()
+psS32 main()
 {
     t00();
Index: trunk/psLib/test/dataManip/tst_psStats08.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats08.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats08.c	(revision 2204)
@@ -13,10 +13,10 @@
 #define N (8 * N1) // Don't change this (N must be a multiple of 8)
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *myVector  = NULL;
     psVector *maskVector= NULL;
@@ -28,7 +28,7 @@
     float realLQWithMask   = N/8.0;
     float realUQWithMask   = 3.0 * (N/8.0);
-    int count           = 0;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 count           = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psStats09.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats09.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psStats09.c	(revision 2204)
@@ -16,10 +16,10 @@
 #define MY_RANGE 2.0
 
-int main()
+psS32 main()
 {
     psStats *myStats    = NULL;
-    int testStatus      = true;
-    int globalTestStatus = true;
-    int i               = 0;
+    psS32 testStatus      = true;
+    psS32 globalTestStatus = true;
+    psS32 i               = 0;
     psVector *maskVector= NULL;
     psVector *myGaussData  = NULL;
@@ -31,7 +31,7 @@
     //    float realclippedMeanWithMask  = 0.0;
     //    float realclippedStdevWithMask = 0.0;
-    int count           = 0;
-    int currentId       = psMemGetId();
-    int memLeaks        = 0;
+    psS32 count           = 0;
+    psS32 currentId       = psMemGetId();
+    psS32 memLeaks        = 0;
 
     /*************************************************************************/
Index: trunk/psLib/test/dataManip/tst_psVectorFFT.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psVectorFFT.c	(revision 2203)
+++ trunk/psLib/test/dataManip/tst_psVectorFFT.c	(revision 2204)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-06 22:34:06 $
+*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-27 00:57:33 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,16 +20,16 @@
 #define GENIMAGE(img,c,r,TYP, valueFcn) \
 img = psImageAlloc(c,r,PS_TYPE_##TYP); \
-for (unsigned int row=0;row<r;row++) { \
+for (psU32 row=0;row<r;row++) { \
     ps##TYP* imgRow = img->data.TYP[row]; \
-    for (unsigned int col=0;col<c;col++) { \
+    for (psU32 col=0;col<c;col++) { \
         imgRow[col] = (ps##TYP)(valueFcn); \
     } \
 }
 
-static int testVectorFFT( void );
-static int testVectorRealImaginary( void );
-static int testVectorComplex( void );
-static int testVectorConjugate( void );
-static int testVectorPowerSpectrum( void );
+static psS32 testVectorFFT( void );
+static psS32 testVectorRealImaginary( void );
+static psS32 testVectorComplex( void );
+static psS32 testVectorConjugate( void );
+static psS32 testVectorPowerSpectrum( void );
 
 testDescription tests[] = {
@@ -54,5 +54,5 @@
                           };
 
-int main( int argc, char* argv[] )
+psS32 main( psS32 argc, char* argv[] )
 {
     psLogSetLevel( PS_LOG_INFO );
@@ -61,5 +61,5 @@
 }
 
-int testVectorFFT( void )
+psS32 testVectorFFT( void )
 {
     psVector * vec = NULL;
@@ -78,5 +78,5 @@
     vec = psVectorAlloc( 100, PS_TYPE_F32 );
     vec->n = vec->nalloc;
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         vec->data.F32[ n ] = sinf( ( psF32 ) n / 50.0f * M_PI );
     }
@@ -91,5 +91,5 @@
 
     // 3. verify that the only significant component cooresponds to the freqency of the input in step 1.
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         if ( n == 1 || n == 99 ) {
             if ( fabsf( cabsf( vec2->data.C32[ n ] ) - 50.0f ) > 0.1f ) {
@@ -111,5 +111,5 @@
         return 4;
     }
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         psF32 val = sinf( ( psF32 ) n / 50.0f * M_PI );
         psF32 vecVal = crealf( vec3->data.C32[ n ] ) / 100;
@@ -128,5 +128,5 @@
 }
 
-int testVectorRealImaginary( void )
+psS32 testVectorRealImaginary( void )
 {
     psVector * vec = NULL;
@@ -143,5 +143,5 @@
     vec = psVectorAlloc( 100, PS_TYPE_C32 );
     vec->n = vec->nalloc;
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         vec->data.C32[ n ] = n + I * ( n * 2 );
     }
@@ -171,5 +171,5 @@
 
     // 3. compare results to the real/imaginary components of input
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         psF32 r = n;
         psF32 i = ( n * 2 );
@@ -193,5 +193,5 @@
 }
 
-int testVectorComplex( void )
+psS32 testVectorComplex( void )
 {
     psVector * vec = NULL;
@@ -220,5 +220,5 @@
     vec->n = vec->nalloc;
     vec2->n = vec2->nalloc;
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         vec->data.F32[ n ] = n;
         vec2->data.F32[ n ] = ( n * 2 );
@@ -237,5 +237,5 @@
     // 4. call psVectorReal and psVectorImaginary on step 2 results (not needed, just use crealf/cimagf)
     // 5. compare step 4 results to input.
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         if ( fabsf( crealf( vec3->data.C32[ n ] ) - n ) > FLT_EPSILON ||
                 fabsf( cimagf( vec3->data.C32[ n ] ) - ( n * 2 ) ) > FLT_EPSILON ) {
@@ -278,5 +278,5 @@
 }
 
-int testVectorConjugate( void )
+psS32 testVectorConjugate( void )
 {
     psVector * vec = NULL;
@@ -293,5 +293,5 @@
     vec = psVectorAlloc( 100, PS_TYPE_C32 );
     vec->n = vec->nalloc;
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         vec->data.C32[ n ] = n + I * ( n * 2 );
     }
@@ -307,5 +307,5 @@
 
     // 4. verify each value is conjugate of input (a+bi -> a-bi)
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         if ( fabsf( crealf( vec->data.C32[ n ] ) - crealf( vec2->data.C32[ n ] ) ) > FLT_EPSILON ||
                 fabsf( cimagf( vec->data.C32[ n ] ) + cimagf( vec2->data.C32[ n ] ) ) > FLT_EPSILON ) {
@@ -322,5 +322,5 @@
 }
 
-int testVectorPowerSpectrum( void )
+psS32 testVectorPowerSpectrum( void )
 {
     psVector * vec = NULL;
@@ -338,5 +338,5 @@
     vec = psVectorAlloc( 100, PS_TYPE_C32 );
     vec->n = vec->nalloc;
-    for ( unsigned int n = 0; n < 100; n++ ) {
+    for ( psU32 n = 0; n < 100; n++ ) {
         vec->data.C32[ n ] = n + I * sinf( ( ( psF32 ) n ) / 50.f * M_PI );
     }
@@ -365,5 +365,5 @@
     };
 
-    for ( unsigned int n = 1; n < 50; n++ ) {
+    for ( psU32 n = 1; n < 50; n++ ) {
         val = ( cabsf( vec->data.C32[ n ] ) * cabsf( vec->data.C32[ n ] ) +
                 cabsf( vec->data.C32[ 100 - n ] ) * cabsf( vec->data.C32[ 100 - n ] ) ) / 100 / 100;
