fix msvc-10.0 build
This commit is contained in:
parent
00090b8284
commit
1fa184ba8a
|
@ -1 +1 @@
|
|||
Subproject commit 504c0b3efa3ae15b43f7168536e05c58d131bb24
|
||||
Subproject commit a5479665ad3b2366721a166dcda527b987825f86
|
|
@ -1152,7 +1152,7 @@ namespace libtorrent
|
|||
h.update(section.first, section.second);
|
||||
m_info_hash = h.final();
|
||||
|
||||
if (section.second >= UINT32_MAX)
|
||||
if (section.second >= (std::numeric_limits<boost::uint32_t>::max)())
|
||||
{
|
||||
ec = errors::metadata_too_large;
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue