Fixed a warning.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4515 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-09-06 17:31:33 +00:00
parent b8561cdd29
commit 080cec2518

View File

@ -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;