From bd2a9d7540b13f6a3edc748d5e91e267b1b03d41 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 9 Aug 2015 13:23:55 +0200 Subject: gofmt --- ber/base128.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ber') diff --git a/ber/base128.go b/ber/base128.go index 7e44d76..4777651 100644 --- a/ber/base128.go +++ b/ber/base128.go @@ -9,8 +9,7 @@ func base128(n int) (b []byte) { l++ } for i := l - 1; i >= 0; i-- { - o := byte(n >> uint(i*7)) - o &= 0x7F + o := byte(n>>uint(i*7)) & 0x7f if i != 0 { o |= 0x80 } @@ -24,7 +23,7 @@ func debase128(b []byte) (i, n int) { i <<= 7 i |= int(v & 0x7f) n++ - if v & 0x80 == 0 { + if v&0x80 == 0 { return } } -- cgit v1.2.3