Skip to content

Commit

Permalink
Fixed something
Browse files Browse the repository at this point in the history
I don't remember why I do this but it seems that I used an old state and
I changed the code to use the most newer state instead the old. So, push
and merge.
  • Loading branch information
dinosaure committed Jul 14, 2017
1 parent 094c1e9 commit b758b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/decompress.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2644,7 +2644,7 @@ struct
KDictionary.get_bits 3 aux src dst t
| 18 ->
let aux n src dst t =
let aux state n src dst t =
if state.idx + n + 11 > state.max
then error t Invalid_dictionary
else begin
Expand All @@ -2655,7 +2655,7 @@ struct
end
in
KDictionary.get_bits 7 aux src dst t
KDictionary.get_bits 7 (aux state) src dst t
| _ -> error t Invalid_dictionary
in
Expand Down

0 comments on commit b758b2e

Please sign in to comment.