diff options
Diffstat (limited to 'lib/TaskMan.cc')
-rw-r--r-- | lib/TaskMan.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc index 8b27e71..84def6c 100644 --- a/lib/TaskMan.cc +++ b/lib/TaskMan.cc @@ -81,7 +81,8 @@ struct pollfd { int poll (struct pollfd *fds, unsigned int nfds, int timeout) { fd_set read_fds, write_fds, except_fds; struct timeval tv = { timeout / 1000, (timeout % 1000) * 1000 }; - int max_fd = 0, i, retval, changedfds; + int max_fd = 0, retval, changedfds; + unsigned int i; FD_ZERO(&read_fds); FD_ZERO(&write_fds); |