Fix build with ghc-7.10

This commit is contained in:
Julian Ospald 2018-04-11 22:22:03 +02:00
parent 3aee719130
commit c556a3d3e4
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -933,7 +933,7 @@ readFileEOF (MkPath fp) =
else do
readBS <- unsafePackCStringFinalizer buf
(fromIntegral size)
mempty
(return ())
read' fd buf (builder <> byteString readBS)