mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +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) {
|
static int poll(struct pollfd *pfd, int n, int milliseconds) {
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
fd_set set;
|
fd_set set;
|
||||||
int i, result, maxfd = 0;
|
int i, result;
|
||||||
|
SOCKET maxfd = 0;
|
||||||
|
|
||||||
tv.tv_sec = milliseconds / 1000;
|
tv.tv_sec = milliseconds / 1000;
|
||||||
tv.tv_usec = (milliseconds % 1000) * 1000;
|
tv.tv_usec = (milliseconds % 1000) * 1000;
|
||||||
|
|||||||
Reference in new issue
Block a user