Fix redundant bytes overflow

This commit is contained in:
airium 2018-11-17 00:52:29 +08:00 committed by Arvid Norberg
parent 95049cde1a
commit 25a1f12991
1 changed files with 1 additions and 1 deletions

View File

@ -1429,7 +1429,7 @@ namespace libtorrent
// the number of bytes that has been // the number of bytes that has been
// downloaded that failed the hash-test // downloaded that failed the hash-test
boost::uint32_t m_total_failed_bytes; boost::uint32_t m_total_failed_bytes;
boost::uint32_t m_total_redundant_bytes; boost::uint64_t m_total_redundant_bytes;
// the sequence number for this torrent, this is a // the sequence number for this torrent, this is a
// monotonically increasing number for each added torrent // monotonically increasing number for each added torrent