fichier: fix accessing files > 2GB on 32 bit systems - fixes #3581

This commit is contained in:
Nick Craig-Wood 2019-10-01 12:34:38 +01:00
parent 23bf6bb4d8
commit 77a520c97c
3 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@ type SharedFolderResponse []SharedFile
type SharedFile struct {
Filename string `json:"filename"`
Link string `json:"link"`
Size int `json:"size"`
Size int64 `json:"size"`
}
// EndFileUploadResponse is the response structure of the corresponding request
@ -93,7 +93,7 @@ type File struct {
Date string `json:"date"`
Filename string `json:"filename"`
Pass int `json:"pass"`
Size int `json:"size"`
Size int64 `json:"size"`
URL string `json:"url"`
}