parse: fix min/max val checking for FIO_OPT_INT
authorJens Axboe <axboe@kernel.dk>
Wed, 26 Sep 2018 01:24:36 +0000 (19:24 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 26 Sep 2018 01:24:36 +0000 (19:24 -0600)
commit5d2788d5b7987f81e705cd1656017ab36254b4f8
tree04415f34b7f5a6ec2a3b6b0ba438684d8f97d8e1
parenta69c9b57ddcff0cfaa481578ecbc4630b27b971f
parse: fix min/max val checking for FIO_OPT_INT

We compare an unsigned long long to an int max/min value, this
is going to break for negative numbers, for instance.

Fixes a case where flow=-1 doesn't work properly because of that.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c