From: simonm Date: Thu, 21 May 1998 09:34:32 +0000 (+0000) Subject: [project @ 1998-05-21 09:34:32 by simonm] X-Git-Tag: Approx_2487_patches~669 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3ab6d935d7618a049121bee0ccc6f88db99dadb8;p=ghc-hetmet.git [project @ 1998-05-21 09:34:32 by simonm] Use 'unsigned long' instead of 'u_long'. --- diff --git a/ghc/lib/misc/BSD.lhs b/ghc/lib/misc/BSD.lhs index fae2966..7f02326 100644 --- 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