Commit 5a333609 authored by Rui Ueyama's avatar Rui Ueyama

strconv: remove needless cast

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/119340043
parent 721c8735
...@@ -31,7 +31,7 @@ func rangeError(fn, str string) *NumError { ...@@ -31,7 +31,7 @@ func rangeError(fn, str string) *NumError {
return &NumError{fn, str, ErrRange} 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. // IntSize is the size in bits of an int or uint value.
const IntSize = intSize const IntSize = intSize
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment