Index: trunk/psLib/src/sysUtils/psErrorCodes.c
===================================================================
--- trunk/psLib/src/sysUtils/psErrorCodes.c	(revision 2129)
+++ trunk/psLib/src/sysUtils/psErrorCodes.c	(revision 2204)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-14 21:14:58 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-10-27 00:57:31 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -59,5 +59,5 @@
     // first, search the static error codes
 
-    int n = 0;
+    psS32 n = 0;
     while(staticErrorCodes[n].code != PS_ERR_N_ERR_CLASSES &&
             staticErrorCodes[n].code != code) {
@@ -88,5 +88,5 @@
 static void freeErrorDescription(psErrorDescription* err)
 {
-    psFree((void*)err->description);
+    psFree((psPtr)err->description);
 }
 
@@ -125,5 +125,5 @@
 
 void psErrorRegister(const psErrorDescription* errors,
-                     int nerror)
+                     psS32 nerror)
 {
     if (nerror < 1) {
@@ -143,9 +143,9 @@
     }
 
-    for (int i=0;i<nerror;i++) {
+    for (psS32 i=0;i<nerror;i++) {
         psErrorDescription* err = psErrorDescriptionAlloc(
                                       errors[i].code, errors[i].description);
         p_psMemSetPersistent(err,true);
-        p_psMemSetPersistent((void*)err->description,true);
+        p_psMemSetPersistent((psPtr)err->description,true);
         if (! psListAdd(dynamicErrorCodes,
                         PS_LIST_HEAD,
@@ -162,5 +162,5 @@
 }
 
-bool p_psErrorUnregister(psErrorCode code)
+psBool p_psErrorUnregister(psErrorCode code)
 {
     // Check input argument is non-negative
@@ -179,4 +179,4 @@
     }
 
-    return psListRemove(dynamicErrorCodes,PS_LIST_UNKNOWN,(void*)desc);
+    return psListRemove(dynamicErrorCodes,PS_LIST_UNKNOWN,(psPtr)desc);
 }
