[buffer] Replace int with signed_size_type.

This commit is contained in:
Adam Wulkiewicz
2015-06-08 21:26:41 +02:00
parent 280022e5d0
commit fb978458e9

View File

@@ -844,7 +844,7 @@ struct buffered_piece_collection
return;
}
if (m_first_piece_index < static_cast<int>(boost::size(m_pieces)))
if (m_first_piece_index < static_cast<signed_size_type>(boost::size(m_pieces)))
{
// If piece was added
// Reassign left-of-first and right-of-last