From caa3eb1c86f9ca0e0063485f0ff0a1fca0dc3af2 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 14 Apr 2014 09:05:46 -0600 Subject: [PATCH] gettime: use unsigned loop counter We're comparing with an unsigned exit condition. Signed-off-by: Jens Axboe --- gettime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gettime.c b/gettime.c index c6d45f87..98e83b85 100644 --- a/gettime.c +++ b/gettime.c @@ -537,7 +537,7 @@ int fio_monotonic_clocktest(void) unsigned long tentries, failed; struct clock_entry *prev, *this; uint32_t seq = 0; - int i; + unsigned int i; log_info("cs: reliable_tsc: %s\n", tsc_reliable ? "yes" : "no"); -- 2.25.1