"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
lib: fix incorrect conversion between integer types
albertony37c12732f9db
diff --git a/lib/encoder/encoder.go b/lib/encoder/encoder.goindex 5efc8a99d..b1ff541a3 100644--- a/lib/encoder/encoder.go+++ b/lib/encoder/encoder.go@@ -190,7 +190,7 @@ func (mask *MultiEncoder) Set(in string) error {if bits, ok := nameToEncoding[part]; ok {out |= bits} else {- i, err := strconv.ParseInt(part, 0, 64)+ i, err := strconv.ParseUint(part, 0, 0)if err != nil {return fmt.Errorf("bad encoding %q: possible values are: %s", part, validStrings())}