fix build error

This commit is contained in:
Arvid Norberg 2015-02-23 02:05:59 +00:00
parent f364fe7beb
commit 5b58f6efd9
1 changed files with 2 additions and 2 deletions

View File

@ -161,8 +161,8 @@ namespace libtorrent
struct downloading_piece
{
downloading_piece() : index(UINT32_MAX)
, info_idx(UINT16_MAX)
downloading_piece() : index((std::numeric_limits<boost::uint32_t>::max)())
, info_idx((std::numeric_limits<boost::uint16_t>::max)())
, finished(0)
, passed_hash_check(0)
, writing(0)