diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-12 18:25:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 18:25:00 +0200 |
commit | 7203e0a76a82e278b6a41e7a5851463a0b2f571e (patch) | |
tree | 04252a3261ecba007ace7055154fc8d2ce8a9aea /vendor/github.com/klauspost/compress/huff0/compress.go | |
parent | 3803a2630f2bc53f18cbf2b7a825ff1b068a0fb7 (diff) | |
parent | 3627c4b691a357fc531c2761f07ccfecf937dd12 (diff) | |
download | podman-7203e0a76a82e278b6a41e7a5851463a0b2f571e.tar.gz podman-7203e0a76a82e278b6a41e7a5851463a0b2f571e.tar.bz2 podman-7203e0a76a82e278b6a41e7a5851463a0b2f571e.zip |
Merge pull request #9994 from containers/dependabot/go_modules/github.com/containers/image/v5-5.11.0
Bump github.com/containers/image/v5 from 5.10.5 to 5.11.0
Diffstat (limited to 'vendor/github.com/klauspost/compress/huff0/compress.go')
-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 |