forked from premiere/premiere-libtorrent
fixed 64-bit overflow issues
This commit is contained in:
parent
0a27b0a2ce
commit
63cf889be4
|
@ -229,7 +229,7 @@ namespace libtorrent
|
||||||
request += "\r\nProxy-Connection: keep-alive";
|
request += "\r\nProxy-Connection: keep-alive";
|
||||||
}
|
}
|
||||||
request += "\r\nRange: bytes=";
|
request += "\r\nRange: bytes=";
|
||||||
request += boost::lexical_cast<std::string>(r.piece
|
request += boost::lexical_cast<std::string>(size_type(r.piece)
|
||||||
* info.piece_length() + r.start);
|
* info.piece_length() + r.start);
|
||||||
request += "-";
|
request += "-";
|
||||||
request += boost::lexical_cast<std::string>(r.piece
|
request += boost::lexical_cast<std::string>(r.piece
|
||||||
|
|
Loading…
Reference in New Issue