"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
local: fix incorrect conversion between integer types
albertony7261f47bd241
diff --git a/backend/local/metadata.go b/backend/local/metadata.goindex 097abedf1..a846c7eeb 100644--- a/backend/local/metadata.go+++ b/backend/local/metadata.go@@ -72,12 +72,12 @@ func (o *Object) parseMetadataInt(m fs.Metadata, key string, base int) (result ivalue, ok := m[key]if ok {var err error- result64, err := strconv.ParseInt(value, base, 64)+ parsed, err := strconv.ParseInt(value, base, 0)if err != nil {fs.Debugf(o, "failed to parse metadata %s: %q: %v", key, value, err)ok = false}- result = int(result64)+ result = int(parsed)}return result, ok}