[project @ 1998-05-21 09:34:32 by simonm]
authorsimonm <unknown>
Thu, 21 May 1998 09:34:32 +0000 (09:34 +0000)
committersimonm <unknown>
Thu, 21 May 1998 09:34:32 +0000 (09:34 +0000)
Use 'unsigned long' instead of 'u_long'.

ghc/lib/misc/BSD.lhs

index fae2966..7f02326 100644 (file)
@@ -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