Merge pull request #1180 from jgarzik/sign-compare

Fix final sign comparison warnings
This commit is contained in:
Jeff Garzik
2012-05-08 13:50:27 -07:00
4 changed files with 11 additions and 11 deletions

View File

@@ -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++)