From: ross Date: Wed, 4 Feb 2004 17:13:53 +0000 (+0000) Subject: [project @ 2004-02-04 17:13:53 by ross] X-Git-Tag: nhc98-1-18-release~395 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6f8f4783b00b5b56c663b06aa6b8449f4f3e1c83;p=ghc-base.git [project @ 2004-02-04 17:13:53 by ross] plug a warning --- diff --git a/cbits/dirUtils.c b/cbits/dirUtils.c index 8c75f0c..0e76972 100644 --- a/cbits/dirUtils.c +++ b/cbits/dirUtils.c @@ -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;