Index: trunk/psLib/src/sys/psString.c
===================================================================
--- trunk/psLib/src/sys/psString.c	(revision 4409)
+++ trunk/psLib/src/sys/psString.c	(revision 4434)
@@ -12,6 +12,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-28 20:17:52 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-30 00:33:36 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -20,4 +20,5 @@
 #include <stdlib.h>
 #include <string.h>
+#include <limits.h>
 #include "psString.h"
 #include "psMemory.h"
@@ -34,10 +35,10 @@
 }
 
-psString psStringNCopy(const char *string, int nChar)
+psString psStringNCopy(const char *string, unsigned int nChar)
 {
     char *returnValue = NULL;
 
     // Check the number of characters to copy is non-negative
-    if (nChar < 0) {
+    if (nChar == UINT_MAX) {
         // Log error message and return NULL
         psError(PS_ERR_BAD_PARAMETER_VALUE, true,
