forked from premiere/premiere-libtorrent
Fix MSVC warning C4267 by casting to the correct type explictly
This commit is contained in:
parent
21d8e9e26b
commit
6394e7ac02
|
@ -212,7 +212,7 @@ namespace libtorrent
|
||||||
break;
|
break;
|
||||||
case entry::preformatted_t:
|
case entry::preformatted_t:
|
||||||
std::copy(e.preformatted().begin(), e.preformatted().end(), out);
|
std::copy(e.preformatted().begin(), e.preformatted().end(), out);
|
||||||
ret += e.preformatted().size();
|
ret += static_cast<int>(e.preformatted().size());
|
||||||
break;
|
break;
|
||||||
case entry::undefined_t:
|
case entry::undefined_t:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue