diff options
| author | Jeff Garzik <[email protected]> | 2012-05-08 13:50:27 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-05-08 13:50:27 -0700 |
| commit | a2ea7975936cab4c56dd737de37004ae3298104d (patch) | |
| tree | b3ab8e38d3f52085d5389a2f85341c4cbdd8b02a /src/net.cpp | |
| parent | Merge pull request #841 from sipa/getalltransactions (diff) | |
| parent | EvalScript(): cast to avoid signed/unsigned warning (diff) | |
| download | discoin-a2ea7975936cab4c56dd737de37004ae3298104d.tar.xz discoin-a2ea7975936cab4c56dd737de37004ae3298104d.zip | |
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 92b4a3173..745b51252 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++) |