From 550d75dab963299764832e704db4faa6656ff2b8 Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 30 Nov 2015 22:59:34 -0500 Subject: [PATCH] fix warning --- test/test_dht.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_dht.cpp b/test/test_dht.cpp index 7a18a8b52..8eb7b0e4e 100644 --- a/test/test_dht.cpp +++ b/test/test_dht.cpp @@ -2395,7 +2395,7 @@ TORRENT_TEST(invalid_error_msg) node.incoming(m); 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") && observer.m_log[i].find("(malformed)"))