fix msvc build

This commit is contained in:
arvidn 2017-02-03 00:18:15 -05:00 committed by Arvid Norberg
parent 7492a29ea9
commit 335beb4bb1
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ TORRENT_TEST(queue)
std::vector<char> buf;
bencode(std::back_inserter(buf), t.generate());
std::shared_ptr<torrent_info> ti = std::make_shared<torrent_info>(&buf[0], buf.size());
std::shared_ptr<torrent_info> ti = std::make_shared<torrent_info>(&buf[0], int(buf.size()));
add_torrent_params p;
p.ti = ti;
p.save_path = ".";