mirror of
https://github.com/golang/go
synced 2024-11-19 06:04:39 -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:
parent
721c8735df
commit
5a3336096f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user