diff options
Diffstat (limited to 'reader/rss')
-rw-r--r-- | reader/rss/rss.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/rss/rss.go b/reader/rss/rss.go index b7fc1d0..041cd19 100644 --- a/reader/rss/rss.go +++ b/reader/rss/rss.go @@ -194,7 +194,7 @@ func (r *rssItem) GetEnclosures() model.EnclosureList { enclosures := make(model.EnclosureList, 0) for _, enclosure := range r.Enclosures { - length, _ := strconv.Atoi(enclosure.Length) + length, _ := strconv.ParseInt(enclosure.Length, 10, 0) enclosureURL := enclosure.URL if r.OrigEnclosureLink != "" { |