From 18228d6615d65ea223a08e92ece7e1fd9e5624ab Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 24 Dec 2010 01:32:26 +0000 Subject: [PATCH] fix warning in utp_stream --- include/libtorrent/utp_stream.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/utp_stream.hpp b/include/libtorrent/utp_stream.hpp index 3bcfeba82..5c79a25b1 100644 --- a/include/libtorrent/utp_stream.hpp +++ b/include/libtorrent/utp_stream.hpp @@ -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; }