From 99dcce6d8b4cc30f5079b300282576818a171d27 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 10 Oct 2017 12:48:37 -0700 Subject: [PATCH] Fixed signed comparison warnings in ztproxy when compiling under Windows --- examples/ztproxy/ztproxy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ztproxy/ztproxy.cpp b/examples/ztproxy/ztproxy.cpp index 07f5fbb..f7ca154 100644 --- a/examples/ztproxy/ztproxy.cpp +++ b/examples/ztproxy/ztproxy.cpp @@ -129,7 +129,7 @@ namespace ZeroTier { FD_ZERO(&read_set); FD_ZERO(&write_set); nfds = 0; - for (int i=0; izfd, &read_set); FD_SET(clist[i]->zfd, &write_set); nfds = clist[i]->zfd > nfds ? clist[i]->zfd : nfds; @@ -324,7 +324,7 @@ namespace ZeroTier { zts_close(conn->zfd); } cmap.erase(sock); - for (int i=0; i