[project @ 1998-05-21 09:34:32 by simonm]
[ghc-hetmet.git] / 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