fix warning in utp_stream

This commit is contained in:
Arvid Norberg 2010-12-24 01:32:26 +00:00
parent 451c583023
commit 18228d6615
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}