summaryrefslogtreecommitdiff
path: root/src/pkg/compress/flate/reverse_bits.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/compress/flate/reverse_bits.go')
-rw-r--r--src/pkg/compress/flate/reverse_bits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/compress/flate/reverse_bits.go b/src/pkg/compress/flate/reverse_bits.go
index 7274541d0..76693d475 100644
--- a/src/pkg/compress/flate/reverse_bits.go
+++ b/src/pkg/compress/flate/reverse_bits.go
@@ -44,5 +44,5 @@ func reverseUint16(v uint16) uint16 {
}
func reverseBits(number uint16, bitLength byte) uint16 {
- return reverseUint16(number << uint8(16-bitLength));
+ return reverseUint16(number<<uint8(16 - bitLength));
}