From 6267984e5e84807e0b8d8da22132c1ea5a57238b Mon Sep 17 00:00:00 2001 From: arvidn Date: Tue, 29 Nov 2016 17:14:14 -0500 Subject: [PATCH] piece picker fix --- include/libtorrent/piece_picker.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/piece_picker.hpp b/include/libtorrent/piece_picker.hpp index a69d20c1f..390b639e9 100644 --- a/include/libtorrent/piece_picker.hpp +++ b/include/libtorrent/piece_picker.hpp @@ -541,7 +541,7 @@ namespace libtorrent // the number of peers that has this piece // (availability) - std::uint16_t peer_count = 0; + std::uint32_t peer_count : 26; // one of the enums from state_t. This indicates whether this piece // is currently being downloaded or not, and what state it's in if