Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix int overflow on 32bit OSs #11

Merged
merged 1 commit into from
Sep 10, 2019
Merged

Conversation

audebert
Copy link
Contributor

@audebert audebert commented Sep 8, 2019

Original error was:

failed to get torrents: json: cannot unmarshal number 72368441637 into Go struct field Torrent.arguments.torrents.leftUntilDone of type int

Tested on armv7l.

@metalmatze
Copy link
Owner

cool! Thanks

@metalmatze metalmatze merged commit 02ddf4e into metalmatze:master Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants