From 25a1f12991b4af1e133b966fae963168116306e9 Mon Sep 17 00:00:00 2001 From: airium Date: Sat, 17 Nov 2018 00:52:29 +0800 Subject: [PATCH] Fix redundant bytes overflow --- include/libtorrent/torrent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/torrent.hpp b/include/libtorrent/torrent.hpp index 92b5d59cc..de3e37d26 100644 --- a/include/libtorrent/torrent.hpp +++ b/include/libtorrent/torrent.hpp @@ -1429,7 +1429,7 @@ namespace libtorrent // the number of bytes that has been // downloaded that failed the hash-test 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 // monotonically increasing number for each added torrent