Fix a few 4.8 extra anal warnings
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 7d478a33b6a4299809691ccfa9e9db543947a072..47e711fd4482f3adbf676aaade486e3a7f93a05f 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -388,7 +388,8 @@ static int __NON_FATAL_ERR[] = {EIO, EILSEQ};
 static inline int td_non_fatal_error(struct thread_data *td,
                                     enum error_type_bit etype, int err)
 {
-       int i;
+       unsigned int i;
+
        if (!td->o.ignore_error[etype]) {
                td->o.ignore_error[etype] = __NON_FATAL_ERR;
                td->o.ignore_error_nr[etype] = sizeof(__NON_FATAL_ERR)