diff options
author | panne <unknown> | 2003-07-28 16:40:45 +0000 |
---|---|---|
committer | panne <unknown> | 2003-07-28 16:40:45 +0000 |
commit | 6ea315962daa8775f2ce8ae561c0cf37688d0440 (patch) | |
tree | 9aaf24ce7130ca230480a52b5390fc47fb8cc7be /src | |
parent | c0fe6493754953014990ba555d45d64c8ea4a02f (diff) |
[haddock @ 2003-07-28 16:40:45 by panne]
Make it compile with GHC >= 6.01
Diffstat (limited to 'src')
-rw-r--r-- | src/Binary.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Binary.hs b/src/Binary.hs index 6ac9db1c..07180a8a 100644 --- a/src/Binary.hs +++ b/src/Binary.hs @@ -244,7 +244,7 @@ writeBinMem (BinMem _ ix_r _ arr_r0) fn = do readBinMem :: FilePath -> IO BinHandle readBinMem filename = do - h <- openFileEx filename (BinaryMode ReadMode) + h <- openBinaryFile filename ReadMode filesize' <- hFileSize h let filesize = fromIntegral filesize' arr <- newArray_ (0,filesize-1) |