aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/hash/crc64/crc64.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/hash/crc64/crc64.go')
-rw-r--r--libgo/go/hash/crc64/crc64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/hash/crc64/crc64.go b/libgo/go/hash/crc64/crc64.go
index 89e4319..8443865 100644
--- a/libgo/go/hash/crc64/crc64.go
+++ b/libgo/go/hash/crc64/crc64.go
@@ -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)