From 6f1360663d02b0d54e4cdba92ac82c69f0a62e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Audebert?= Date: Sun, 8 Sep 2019 12:10:10 +0200 Subject: [PATCH] Fix int overflow on 32bit OSs --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index 7405eb1..823b1c6 100644 --- a/torrent.go +++ b/torrent.go @@ -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"`