projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1998-05-21 09:34:32 by simonm]
[ghc-hetmet.git]
/
ghc
/
lib
/
misc
/
BSD.lhs
diff --git
a/ghc/lib/misc/BSD.lhs
b/ghc/lib/misc/BSD.lhs
index
fae2966
..
7f02326
100644
(file)
--- a/
ghc/lib/misc/BSD.lhs
+++ b/
ghc/lib/misc/BSD.lhs
@@
-437,7
+437,7
@@
unvectorizeHostAddrs :: Addr -> Int -> IO [Word]
unvectorizeHostAddrs ptr n
| str == ``NULL'' = return []
| otherwise = do
- x <- _casm_ ``{ u_long tmp;
+ x <- _casm_ ``{ unsigned long tmp;
if ((((struct hostent*)%0)->h_addr_list[(int)%1]) == NULL)
tmp=(W_)0;
else