From 8203547cfc4ff90c583b75fac43aaa7d0a60941b Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 26 Aug 2019 20:01:54 -0700 Subject: [PATCH] Warning removal. --- selftest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selftest.cpp b/selftest.cpp index 120b9a12e..d035409cf 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -1118,7 +1118,7 @@ static int testPhy() unsigned long phyTestTcpInvalidConnectionsAttempted = 0; std::cout << "[phy] Testing UDP send/receive... "; std::cout.flush(); - uint64_t timeoutAt = OSUtils::now() + ZT_TEST_PHY_TIMEOUT_MS; + int64_t timeoutAt = OSUtils::now() + ZT_TEST_PHY_TIMEOUT_MS; while ((OSUtils::now() < timeoutAt)&&(phyTestUdpPacketCount < ZT_TEST_PHY_NUM_UDP_PACKETS)) { if (phyTestUdpPacketsSent < ZT_TEST_PHY_NUM_UDP_PACKETS) { if (!testPhyInstance->udpSend(udpListenSock,(const struct sockaddr *)&bindaddr,udpTestPayload,sizeof(udpTestPayload))) {