1
0
mirror of https://github.com/golang/go synced 2024-11-19 08:24:41 -07:00

strconv: remove needless cast

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/119340043
This commit is contained in:
Rui Ueyama 2014-07-31 13:54:42 -07:00
parent 721c8735df
commit 5a3336096f

View File

@ -31,7 +31,7 @@ func rangeError(fn, str string) *NumError {
return &NumError{fn, str, ErrRange}
}
const intSize = 32 << uint(^uint(0)>>63)
const intSize = 32 << (^uint(0) >> 63)
// IntSize is the size in bits of an int or uint value.
const IntSize = intSize