replaced int64_t with size_type for portability

This commit is contained in:
Arvid Norberg 2007-09-03 21:20:28 +00:00
parent 6d40519e66
commit c6b8b22679
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ namespace libtorrent
|| (m_request_large_blocks
&& p.length <= ti.piece_length() * m_prefer_whole_pieces == 0 ?
1 : m_prefer_whole_pieces))
&& p.piece * int64_t(ti.piece_length()) + p.start + p.length
&& p.piece * size_type(ti.piece_length()) + p.start + p.length
<= ti.total_size()
&& (p.start % t->block_size() == 0);
}