From: Jens Axboe Date: Mon, 14 Apr 2014 15:05:46 +0000 (-0600) Subject: gettime: use unsigned loop counter X-Git-Tag: fio-2.1.9~51 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=caa3eb1c86f9ca0e0063485f0ff0a1fca0dc3af2 gettime: use unsigned loop counter We're comparing with an unsigned exit condition. Signed-off-by: Jens Axboe --- 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");