fixed build warning
This commit is contained in:
parent
1dc0e71716
commit
ec6ef250bf
|
@ -1208,8 +1208,8 @@ namespace libtorrent
|
|||
// ugly edge case where padfiles are not used they way they're
|
||||
// supposed to be. i.e. added back-to back or at the end
|
||||
if (pb.block_index == blocks_per_piece) { pb.block_index = 0; ++pb.piece_index; }
|
||||
if (pr.length > 0 && (boost::next(i) != end && boost::next(i)->pad_file)
|
||||
|| boost::next(i) == end)
|
||||
if (pr.length > 0 && ((boost::next(i) != end && boost::next(i)->pad_file)
|
||||
|| boost::next(i) == end))
|
||||
{
|
||||
m_picker->mark_as_finished(pb, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue