diff options
author | pixel <pixel> | 2006-02-02 14:09:48 +0000 |
---|---|---|
committer | pixel <pixel> | 2006-02-02 14:09:48 +0000 |
commit | 08b9df0614f05c24aaaa08aac339a2eb13a9ee85 (patch) | |
tree | fd503593c230bc6dd3130eeb8f200821bcb9e1eb /lib/TaskMan.cc | |
parent | e236671cbac9ec8d84f9833bf462d58e7e176658 (diff) |
Removing a lot of warnings, as well as a bunch of terrible bugs!
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); |