Skip to content

Commit 96344e4

Browse files
committed
Support GHC 9.4
1 parent a84866f commit 96344e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Codec/Compression/Zlib/Internal.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,8 @@ decompressStreamST format params =
925925
if S.length chunk > 1
926926
then do
927927
-- have to handle the remaining data in this chunk
928-
(DecompressInputRequired next, zstate') <- runStreamST resume zstate
928+
x <- runStreamST resume zstate
929+
let (DecompressInputRequired next, zstate') = x
929930
(strm', zstate'') <- runStreamST (next (S.tail chunk)) zstate'
930931
go strm' zstate'' False
931932
else do

zlib.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ library
9494
if impl(ghc >= 7.6)
9595
other-extensions: CApiFFI
9696

97-
build-depends: base >= 4 && < 4.17,
97+
build-depends: base >= 4 && < 4.18,
9898
bytestring >= 0.9 && < 0.12
9999
if impl(ghc >= 7.0 && < 8.0.3)
100100
build-depends: ghc-prim

0 commit comments

Comments
 (0)