squashed warning

This commit is contained in:
Sergey Lyubka committed 2013-07-20 11:33:34 +01:00
1 parent 4b163232e3
commit a9d51c0e87
1 file changed
+2 -1
+2 -1
View File
@@ -1231,7 +1231,8 @@ static struct dirent *readdir(DIR *dir) {
static int poll(struct pollfd *pfd, int n, int milliseconds) {
struct timeval tv;
fd_set set;
int i, result, maxfd = 0;
int i, result;
SOCKET maxfd = 0;
tv.tv_sec = milliseconds / 1000;
tv.tv_usec = (milliseconds % 1000) * 1000;