fix msvc-warning in python binding

This commit is contained in:
arvidn 2016-12-31 00:34:05 -05:00 committed by Arvid Norberg
parent 203994a948
commit 8800cae585
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace
void set_web_seeds(torrent_info& ti, list ws)
{
std::vector<web_seed_entry> web_seeds;
int const len = boost::python::len(ws);
int const len = static_cast<int>(boost::python::len(ws));
for (int i = 0; i < len; i++)
{
dict e = extract<dict>(ws[i]);