fix msvc-10.0 build

This commit is contained in:
arvidn 2015-11-07 10:01:01 -05:00
parent 00090b8284
commit 1fa184ba8a
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 504c0b3efa3ae15b43f7168536e05c58d131bb24
Subproject commit a5479665ad3b2366721a166dcda527b987825f86

View File

@ -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;