aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-05-08 13:50:27 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-05-08 13:50:27 -0700
commita2ea7975936cab4c56dd737de37004ae3298104d (patch)
treeb3ab8e38d3f52085d5389a2f85341c4cbdd8b02a /src/net.cpp
parent2f1dca645bece3a8422659a0bc0b1481242b8f3a (diff)
parent024fa1cb44b8ec577fef07e7b37a4e5b0501dbea (diff)
Merge pull request #1180 from jgarzik/sign-compare
Fix final sign comparison warnings
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 92b4a3173f..745b51252e 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -621,7 +621,7 @@ void ThreadSocketHandler2(void* parg)
if (nSelect == SOCKET_ERROR)
{
int nErr = WSAGetLastError();
- if (hSocketMax > -1)
+ if (hSocketMax > (SOCKET) -1)
{
printf("socket select error %d\n", nErr);
for (unsigned int i = 0; i <= hSocketMax; i++)