mirror of
https://github.com/rclone/rclone
synced 2024-09-03 21:31:30 +02:00
mountlib: clip blocks returned to 32 bit number for Windows 32 bit - fixes #2934
This commit is contained in:
parent
88592a1779
commit
184a9c8da6
@ -326,7 +326,11 @@ func ClipBlocks(b *uint64) {
|
||||
var max uint64
|
||||
switch runtime.GOOS {
|
||||
case "windows":
|
||||
max = (1 << 43) - 1
|
||||
if runtime.GOARCH == "386" {
|
||||
max = (1 << 32) - 1
|
||||
} else {
|
||||
max = (1 << 43) - 1
|
||||
}
|
||||
case "darwin":
|
||||
// OSX FUSE only supports 32 bit number of blocks
|
||||
// https://github.com/osxfuse/osxfuse/issues/396
|
||||
|
Loading…
Reference in New Issue
Block a user