Skip to content

Commit ad8acac

Browse files
committed
fixup
1 parent 209cfad commit ad8acac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serialization/serialization.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,10 @@ func decodeVar(r io.ReadSeeker, unsigned bool) (interface{}, error) {
296296
if unsigned {
297297
return tNum >> (tb + 1), nil
298298
}
299-
if positive := (tNum>>(tb+1))&1==0; positive {
299+
if positive := (tNum>>(tb+1))&1 == 0; positive {
300300
return int64(tNum >> (tb + 2)), nil
301301
}
302-
return int64(-(1+(tNum >> (tb + 2)))), nil
302+
return int64(-(1 + (tNum >> (tb + 2)))), nil
303303
}
304304

305305
func trailingOneBitCount(b byte) int {

0 commit comments

Comments
 (0)