gettime: use unsigned loop counter
[fio.git] / gettime.c
index c6d45f8761f799e9e324b2f95f9b4bff40a56158..98e83b85a6b55ef2a059ced730459e1f9c1697a2 100644 (file)
--- 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");