Skip to content

Commit

Permalink
Fix for sized int hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Dec 21, 2021
1 parent 236d712 commit 0a7828d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ func HashInt64(i int64) uint64 {
func HashInt32(i int32) uint64 {
return hash(uint64(i))
}
func HashInt16(i int32) uint64 {
func HashInt16(i int16) uint64 {
return hash(uint64(i))
}
func HashInt8(i int32) uint64 {
func HashInt8(i int8) uint64 {
return hash(uint64(i))
}
func HashInt(i int) uint64 {
Expand Down

0 comments on commit 0a7828d

Please sign in to comment.