mirror of
https://github.com/rclone/rclone.git
synced 2025-01-10 00:08:44 +01:00
seafile: fix accessing libraries > 2GB on 32 bit systems - fixes #4588
This commit is contained in:
parent
b89f8c05cf
commit
b7f0e776f6
@ -46,7 +46,7 @@ type Library struct {
|
|||||||
Encrypted bool `json:"encrypted"`
|
Encrypted bool `json:"encrypted"`
|
||||||
Owner string `json:"owner"`
|
Owner string `json:"owner"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Size int `json:"size"`
|
Size int64 `json:"size"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Modified int64 `json:"mtime"`
|
Modified int64 `json:"mtime"`
|
||||||
}
|
}
|
||||||
|
@ -1004,7 +1004,7 @@ func (f *Fs) listLibraries(ctx context.Context) (entries fs.DirEntries, err erro
|
|||||||
|
|
||||||
for _, library := range libraries {
|
for _, library := range libraries {
|
||||||
d := fs.NewDir(library.Name, time.Unix(library.Modified, 0))
|
d := fs.NewDir(library.Name, time.Unix(library.Modified, 0))
|
||||||
d.SetSize(int64(library.Size))
|
d.SetSize(library.Size)
|
||||||
entries = append(entries, d)
|
entries = append(entries, d)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user