mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-10 23:07:52 +00:00
fix cast
This commit is contained in:
parent
bfc461a2dc
commit
33d44cf473
@ -579,7 +579,7 @@ namespace libtorrent
|
||||
TORRENT_ASSERT(num_bufs == 1);
|
||||
TORRENT_ASSERT(offset == 0);
|
||||
|
||||
std::string postStr(bufs[0].iov_base, bufs[0].iov_len);
|
||||
std::string postStr(static_cast<char *>(bufs[0].iov_base), bufs[0].iov_len);
|
||||
|
||||
if( Write(std::make_pair('p', slot), postStr) ) {
|
||||
return postStr.size();
|
||||
|
Loading…
Reference in New Issue
Block a user