diff options
Diffstat (limited to 'plumbing/object/rename.go')
-rw-r--r-- | plumbing/object/rename.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/rename.go b/plumbing/object/rename.go index 48665eb..9ce41b3 100644 --- a/plumbing/object/rename.go +++ b/plumbing/object/rename.go @@ -713,7 +713,7 @@ func (i *similarityIndex) common(dst *similarityIndex) uint64 { } func (i *similarityIndex) add(key int, cnt uint64) error { - key = int(uint32(key*0x9e370001) >> 1) + key = int(uint32(key)*0x9e370001 >> 1) j := i.slot(key) for { |