diff --git a/test/poll.c b/test/poll.c index cd22f15..7e170ea 100644 --- a/test/poll.c +++ b/test/poll.c @@ -67,7 +67,7 @@ int main() newact.sa_handler = catch_int; sigaction(SIGINT, &newact, &oldact); - for (i = 0; i < n_drives; i++) { + for (i = 0; i < (int) n_drives; i++) { NEXT=0; poll_drive(i); }