"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
onedrive: fix quickxorhash on 32 bit architectures
Nick Craig-Wood451f4c2a8f2d
diff --git a/backend/onedrive/quickxorhash/quickxorhash.go b/backend/onedrive/quickxorhash/quickxorhash.goindex 242d704f1..a8fa3d7f0 100644--- a/backend/onedrive/quickxorhash/quickxorhash.go+++ b/backend/onedrive/quickxorhash/quickxorhash.go@@ -61,7 +61,7 @@ func New() hash.Hash {func (q *quickXorHash) Write(p []byte) (n int, err error) {var i int// fill last remain- lastRemain := int(q.size) % dataSize+ lastRemain := q.size % dataSizeif lastRemain != 0 {i += xorBytes(q.data[lastRemain:], p)}