From d7b3b206967fd722a46e7267736dcc23ffc0ec4b Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 10 Oct 2017 14:28:50 -0700 Subject: [PATCH] Fixed signed comparison warnings in ztproxy when compiling under Windows --- src/ZT1Service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZT1Service.cpp b/src/ZT1Service.cpp index b8dd44c..cdfd3f2 100644 --- a/src/ZT1Service.cpp +++ b/src/ZT1Service.cpp @@ -89,7 +89,7 @@ ZeroTier::VirtualTap *getTapByAddr(ZeroTier::InetAddress *addr) for (size_t i=0; i_ips.size(); j++) { + for (size_t j=0; j_ips.size(); j++) { if ((s->_ips[j].isV4() && addr->isV4()) || (s->_ips[j].isV6() && addr->isV6())) { //DEBUG_EXTRA("looking at tap %s, --- for <%s>", s->_dev.c_str(), s->_ips[j].toString(ipbuf), addr->toIpString(ipbuf2)); if (s->_ips[j].isEqualPrefix(addr)