From 080cec2518e0ef586c4c7ecce6b20ae9353da851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 6 Sep 2003 17:31:33 +0000 Subject: [PATCH] Fixed a warning. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4515 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/vfs_select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/core/fs/vfs_select.c b/src/kernel/core/fs/vfs_select.c index 1de5a4c454..e98775e25a 100644 --- a/src/kernel/core/fs/vfs_select.c +++ b/src/kernel/core/fs/vfs_select.c @@ -176,7 +176,7 @@ common_poll(struct pollfd *fds, nfds_t numfds, bigtime_t timeout, bool kernel) { status_t status = B_OK; int count = 0; - int i; + uint32 i; // allocate resources @@ -233,7 +233,7 @@ common_poll(struct pollfd *fds, nfds_t numfds, bigtime_t timeout, bool kernel) switch (status) { case B_OK: - for (count = 0, i = 0;i < numfds; i++) { + for (count = 0, i = 0; i < numfds; i++) { if (fds[i].revents == POLLNVAL) continue;