[project @ 2004-02-04 17:13:53 by ross]
[ghc-base.git] / 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;