aboutsummaryrefslogtreecommitdiff
path: root/src/internal/bisect/bisect.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/bisect/bisect.go')
-rw-r--r--src/internal/bisect/bisect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/bisect/bisect.go b/src/internal/bisect/bisect.go
index 26d3ebf333..bf67ceb9d7 100644
--- a/src/internal/bisect/bisect.go
+++ b/src/internal/bisect/bisect.go
@@ -728,7 +728,7 @@ func fnvString(h uint64, x string) uint64 {
func fnvUint64(h uint64, x uint64) uint64 {
for i := 0; i < 8; i++ {
- h ^= uint64(x & 0xFF)
+ h ^= x & 0xFF
x >>= 8
h *= prime64
}