aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/rename.go
diff options
context:
space:
mode:
authorTodd Neal <todd@tneal.org>2020-04-27 19:46:26 -0500
committerTodd Neal <todd@tneal.org>2020-04-27 19:46:26 -0500
commit30f143c4bd7ab2b312be2982b93b5c090fbb0e97 (patch)
treecf5689f212ee450a2f22b0f0b15d22813663b927 /plumbing/object/rename.go
parentdcaccf7ad7fdb9e5563c8dc8a9b2fc1f3d871581 (diff)
downloadgo-git-30f143c4bd7ab2b312be2982b93b5c090fbb0e97.tar.gz
fix 32 bit build
Discovered while building on a Raspberry Pi
Diffstat (limited to 'plumbing/object/rename.go')
-rw-r--r--plumbing/object/rename.go2
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 {