From 7a9a7dfdd2d468d2fcd2966a7b2d91b8c143eedc Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 12 May 2011 13:52:23 +0000 Subject: [PATCH] Reacted on -Wsign-compare warnings of gcc --- test/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }