Browse Source

Fix some warnings

bel2125 8 years ago
parent
commit
c053e57150
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -5189,7 +5189,7 @@ push_inner(struct mg_context *ctx,
 			tv.tv_sec = (time_t)(ms_wait / 1000);
 			tv.tv_usec = (long)((ms_wait % 1000) * 1000);
 
-			sret = select(sock + 1, NULL, &wfds, NULL, &tv);
+			sret = select((int)sock + 1, NULL, &wfds, NULL, &tv);
 
 			if (sret > 0) {
 				/* We got ready to write. Don't check the timeout