diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-04-12 09:45:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 09:45:08 +0000 |
commit | 3627c4b691a357fc531c2761f07ccfecf937dd12 (patch) | |
tree | efb7643f74beadd946dc052f537743454a076462 /vendor/github.com/klauspost/compress/huff0 | |
parent | 669311d8d8a8881571ccc81ce48b9202b15b9def (diff) | |
download | podman-3627c4b691a357fc531c2761f07ccfecf937dd12.tar.gz podman-3627c4b691a357fc531c2761f07ccfecf937dd12.tar.bz2 podman-3627c4b691a357fc531c2761f07ccfecf937dd12.zip |
Bump github.com/containers/image/v5 from 5.10.5 to 5.11.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.10.5 to 5.11.0.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.10.5...v5.11.0)
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/klauspost/compress/huff0')
-rw-r--r-- | vendor/github.com/klauspost/compress/huff0/compress.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/klauspost/compress/huff0/compress.go b/vendor/github.com/klauspost/compress/huff0/compress.go index f9ed5f830..dea115b33 100644 --- a/vendor/github.com/klauspost/compress/huff0/compress.go +++ b/vendor/github.com/klauspost/compress/huff0/compress.go @@ -403,7 +403,7 @@ func (s *Scratch) buildCTable() error { var startNode = int16(s.symbolLen) nonNullRank := s.symbolLen - 1 - nodeNb := int16(startNode) + nodeNb := startNode huffNode := s.nodes[1 : huffNodesLen+1] // This overlays the slice above, but allows "-1" index lookups. @@ -580,7 +580,7 @@ func (s *Scratch) setMaxHeight(lastNonNull int) uint8 { // Get pos of last (smallest) symbol per rank { - currentNbBits := uint8(maxNbBits) + currentNbBits := maxNbBits for pos := int(n); pos >= 0; pos-- { if huffNode[pos].nbBits >= currentNbBits { continue |