projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
897ec7c
)
[project @ 2004-02-04 17:13:53 by ross]
author
ross
<unknown>
Wed, 4 Feb 2004 17:13:53 +0000
(17:13 +0000)
committer
ross
<unknown>
Wed, 4 Feb 2004 17:13:53 +0000
(17:13 +0000)
plug a warning
cbits/dirUtils.c
patch
|
blob
|
history
diff --git
a/cbits/dirUtils.c
b/cbits/dirUtils.c
index
8c75f0c
..
0e76972
100644
(file)
--- 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;