Fixed error when setting max file size on 32-Bit systems

This commit is contained in:
kolaente 2019-10-18 17:30:25 +02:00
parent 2169464983
commit b81cd6128a
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
19 changed files with 369 additions and 16 deletions

View file

@ -763,7 +763,7 @@ func (err ErrTaskAttachmentDoesNotExist) HTTPError() web.HTTPError {
// ErrTaskAttachmentIsTooLarge represents an error where the user tries to relate a task with itself
type ErrTaskAttachmentIsTooLarge struct {
Size int64
Size uint64
}
// IsErrTaskAttachmentIsTooLarge checks if an error is ErrTaskAttachmentIsTooLarge.