fix warning

This commit is contained in:
arvidn 2015-11-30 22:59:34 -05:00
parent eb8add0e57
commit 550d75dab9
1 changed files with 1 additions and 1 deletions

View File

@ -2395,7 +2395,7 @@ TORRENT_TEST(invalid_error_msg)
node.incoming(m); node.incoming(m);
bool found = false; bool found = false;
for (int i = 0; i < observer.m_log.size(); ++i) for (int i = 0; i < int(observer.m_log.size()); ++i)
{ {
if (observer.m_log[i].find("INCOMING ERROR") if (observer.m_log[i].find("INCOMING ERROR")
&& observer.m_log[i].find("(malformed)")) && observer.m_log[i].find("(malformed)"))