mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
squashed warning
This commit is contained in:
1 parent
4b163232e3
commit
a9d51c0e87
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user