From 3ab6d935d7618a049121bee0ccc6f88db99dadb8 Mon Sep 17 00:00:00 2001 From: simonm Date: Thu, 21 May 1998 09:34:32 +0000 Subject: [PATCH] [project @ 1998-05-21 09:34:32 by simonm] Use 'unsigned long' instead of 'u_long'. --- ghc/lib/misc/BSD.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4