diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-04-30 22:19:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 22:19:26 +0200 |
commit | a0224d9db3167102ddd3d0024a43636251dacca6 (patch) | |
tree | 87377602e8acd3f0921b427056c293af5acf943e /plumbing/object | |
parent | 06dad218498f62255799d03dc6411dba481ce71b (diff) | |
parent | 30f143c4bd7ab2b312be2982b93b5c090fbb0e97 (diff) | |
download | go-git-a0224d9db3167102ddd3d0024a43636251dacca6.tar.gz |
Merge pull request #44 from tzneal/mine/fix-32-bit-build
fix 32 bit build
Diffstat (limited to 'plumbing/object')
-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 { |