forked from premiere/premiere-libtorrent
fix warning in utp_stream
This commit is contained in:
parent
451c583023
commit
18228d6615
|
@ -328,7 +328,7 @@ public:
|
|||
#endif
|
||||
}
|
||||
std::size_t ret = read_some(true);
|
||||
TORRENT_ASSERT(int(ret) <= buf_size);
|
||||
TORRENT_ASSERT(ret <= buf_size);
|
||||
TORRENT_ASSERT(ret > 0);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue