parse: fix parse_is_percent() warning
authorNiklas Cassel <niklas.cassel@wdc.com>
Tue, 13 Apr 2021 10:03:31 +0000 (12:03 +0200)
committerNiklas Cassel <niklas.cassel@wdc.com>
Tue, 13 Apr 2021 10:12:11 +0000 (12:12 +0200)
commit0cf2af99f2487874d9d0348c84343ca9371b21c3
tree5d2bcdff18637d9511421175a1e32c11ea34b94e
parent9b6253bc6af3b38d4677f7470f42a1ff22492ef3
parse: fix parse_is_percent() warning

When compiling an out of tree ioengine, such as the SPDK fio plugin,
which has -Wextra in CFLAGS, the compiler gives the following warning:

parse.h: In function ‘parse_is_percent’:
parse.h:134:13: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]

Since this warning was introduced recently by fio
commit b75c0fae6612 ("parse: simplify parse_is_percent()"),
and since this is the only warning seen when compiling the SPDK fio
plugin, readd the ULL prefix to parse_is_percent().

Fixes: b75c0fae6612 ("parse: simplify parse_is_percent()")
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
parse.h