commit | ea70b0d51d2967e747f31be599bd28953831cd53 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Wed Dec 22 10:28:22 2010 +1100 |
committer | Nigel Tao <nigeltao@golang.org> | Wed Dec 22 10:28:22 2010 +1100 |
tree | a7c1bb4584e52a695f741e36c20394fe8388a0f2 | |
parent | 8cfd9e06762eb5ba3320b071f60710662cc25317 [diff] |
hash/crc64: fix typo in Sum. R=agl1 CC=golang-dev https://golang.org/cl/3772043
diff --git a/src/pkg/hash/crc64/crc64.go b/src/pkg/hash/crc64/crc64.go index 89e4319..8443865 100644 --- a/src/pkg/hash/crc64/crc64.go +++ b/src/pkg/hash/crc64/crc64.go
@@ -80,7 +80,7 @@ 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)