Skip to content

Commit

Permalink
Merge pull request #11 from audebert/master
Browse files Browse the repository at this point in the history
Fix int overflow on 32bit OSs
  • Loading branch information
metalmatze authored Sep 10, 2019
2 parents 798699b + 6f13606 commit 02ddf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type (
Name string `json:"name"`
Status int `json:"status"`
Added int `json:"addedDate"`
LeftUntilDone int `json:"leftUntilDone"`
LeftUntilDone int64 `json:"leftUntilDone"`
Eta int `json:"eta"`
UploadRatio float64 `json:"uploadRatio"`
RateDownload int `json:"rateDownload"`
Expand Down

0 comments on commit 02ddf4e

Please sign in to comment.