[project @ 2004-02-04 17:13:53 by ross]
authorross <unknown>
Wed, 4 Feb 2004 17:13:53 +0000 (17:13 +0000)
committerross <unknown>
Wed, 4 Feb 2004 17:13:53 +0000 (17:13 +0000)
plug a warning

cbits/dirUtils.c

index 8c75f0c..0e76972 100644 (file)
@@ -63,7 +63,7 @@ __hscore_readdir( HsAddr dirPtr, HsAddr pDirEnt )
 #if HAVE_READDIR_R
   struct dirent* p;
   int res;
-  static unsigned int nm_max = -1;
+  static unsigned int nm_max = (unsigned int)-1;
   
   if (pDirE == NULL) {
     return -1;