diff --git a/pixie.nimble b/pixie.nimble index 1002a9a..57c4d10 100644 --- a/pixie.nimble +++ b/pixie.nimble @@ -8,7 +8,7 @@ srcDir = "src" requires "nim >= 1.2.6" requires "vmath >= 1.0.8" requires "chroma >= 0.2.5" -requires "zippy >= 0.3.5" +requires "zippy >= 0.5.12" requires "flatty >= 0.1.3" requires "nimsimd >= 1.0.0" requires "bumpy >= 1.0.3" diff --git a/src/pixie/fileformats/gif.nim b/src/pixie/fileformats/gif.nim index 69ab40a..18cd1ad 100644 --- a/src/pixie/fileformats/gif.nim +++ b/src/pixie/fileformats/gif.nim @@ -113,7 +113,7 @@ proc decodeGif*(data: string): Image = if bs.pos + bitSize.int > bs.data.len * 8: failInvalid() var # Read variable bits out of the table. - codeId = bs.readBits(bitSize.int).int + codeId = bs.readBits(bitSize).int # Some time we need to carry over table information. carryOver: seq[int]