summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-03-19 07:37:41 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-03-19 07:37:41 +0100
commitc5690b268a970f4cbf7b6d73f48a57d9126ac512 (patch)
treee988099fe7253d79ac25e356d75363b4fdf24fbc /src
parentd66bad19cda7db831095d3fa68a550887e03514b (diff)
downloadxmobar-c5690b268a970f4cbf7b6d73f48a57d9126ac512.tar.gz
xmobar-c5690b268a970f4cbf7b6d73f48a57d9126ac512.tar.bz2
Quirk in StatFS (CLong -> CULong)
As per Joey Hess advice in http://code.google.com/p/xmobar/issues/detail?id=28#c15
Diffstat (limited to 'src')
-rw-r--r--src/StatFS.hsc2
1 files changed, 1 insertions, 1 deletions
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)