Merge branch 'parse-signedness-warn' of https://github.com/floatious/fio
[fio.git] / parse.h
diff --git a/parse.h b/parse.h
index 4cf08fd2cf924f84eebd4080709c1ae83246da87..d68484eaf0c65572352222297162ebd0d20cf7e7 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -131,7 +131,7 @@ static inline void *td_var(void *to, const struct fio_option *o,
 
 static inline int parse_is_percent(unsigned long long val)
 {
-       return val >= -101;
+       return val >= -101ULL;
 }
 
 #define ZONE_BASE_VAL ((-1ULL >> 1) + 1)