fix warning

This commit is contained in:
arvidn 2016-05-07 01:34:54 -04:00
parent 64409dae65
commit eee790d0c9
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ namespace libtorrent
break;
case entry::preformatted_t:
std::copy(e.preformatted().begin(), e.preformatted().end(), out);
ret += e.preformatted().size();
ret += int(e.preformatted().size());
break;
case entry::undefined_t:
// trying to encode a structure with uninitialized values!