From c5690b268a970f4cbf7b6d73f48a57d9126ac512 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 19 Mar 2012 07:37:41 +0100 Subject: Quirk in StatFS (CLong -> CULong) As per Joey Hess advice in http://code.google.com/p/xmobar/issues/detail?id=28#c15 --- src/StatFS.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/StatFS.hsc b/src/StatFS.hsc index d785b89..d9d34ea 100644 --- a/src/StatFS.hsc +++ b/src/StatFS.hsc @@ -58,7 +58,7 @@ foreign import ccall unsafe "sys/vfs.h statfs64" #endif c_statfs :: CString -> Ptr CStatfs -> IO CInt -toI :: CLong -> Integer +toI :: CULong -> Integer toI = toInteger getFileSystemStats :: String -> IO (Maybe FileSystemStats) -- cgit v1.2.3