Commit ea70b0d5 authored by Nigel Tao's avatar Nigel Tao

hash/crc64: fix typo in Sum.

R=agl1
CC=golang-dev
https://golang.org/cl/3772043
parent 8cfd9e06
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment