Skip to content

Commit

Permalink
avoid nzCompressInit ambiguous call when included (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 authored Aug 2, 2023
1 parent 4454ed8 commit dd13e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimPNG/filters.nim
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ proc filterBruteForce*[T](output: var openArray[T], input: openArray[T], w, h, b
byteWidth, lineTs, PNGFilter(fType))

size[fType] = 0
var nz = nzCompressInit(attempt[fType])
var nz = nimz.nzCompressInit(attempt[fType])
let data = zlib_compress(nz)
size[fType] = data.len

Expand Down

0 comments on commit dd13e50

Please sign in to comment.