mirror of
https://github.com/golang/go
synced 2024-11-12 09:20:22 -07:00
hash/crc64: fix typo in Sum.
R=agl1 CC=golang-dev https://golang.org/cl/3772043
This commit is contained in:
parent
8cfd9e0676
commit
ea70b0d51d
@ -80,7 +80,7 @@ func (d *digest) Sum64() uint64 { return d.crc }
|
||||
func (d *digest) Sum() []byte {
|
||||
p := make([]byte, 8)
|
||||
s := d.Sum64()
|
||||
p[0] = byte(s >> 54)
|
||||
p[0] = byte(s >> 56)
|
||||
p[1] = byte(s >> 48)
|
||||
p[2] = byte(s >> 40)
|
||||
p[3] = byte(s >> 32)
|
||||
|
Loading…
Reference in New Issue
Block a user