diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-08 13:50:27 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-08 13:50:27 -0700 |
commit | a2ea7975936cab4c56dd737de37004ae3298104d (patch) | |
tree | b3ab8e38d3f52085d5389a2f85341c4cbdd8b02a /src/net.cpp | |
parent | 2f1dca645bece3a8422659a0bc0b1481242b8f3a (diff) | |
parent | 024fa1cb44b8ec577fef07e7b37a4e5b0501dbea (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.cpp | 2 |
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++) |