mirror of
https://github.com/golang/go.git
synced 2025-11-02 17:50:56 +00:00
all: remove unnecessary type conversions
cmd and runtime were handled separately, and I'm intentionally skipped syscall. This is the rest of the standard library. CL generated mechanically with github.com/mdempsky/unconvert. Change-Id: I9e0eff886974dedc37adb93f602064b83e469122 Reviewed-on: https://go-review.googlesource.com/22104 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
80e7dddffa
commit
0da4dbe232
50 changed files with 120 additions and 120 deletions
|
|
@ -127,7 +127,7 @@ func (state *encoderState) encodeInt(i int64) {
|
|||
} else {
|
||||
x = uint64(i << 1)
|
||||
}
|
||||
state.encodeUint(uint64(x))
|
||||
state.encodeUint(x)
|
||||
}
|
||||
|
||||
// encOp is the signature of an encoding operator for a given type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue