parse: fix negative FIO_OPT_INT too-large check
authorJens Axboe <axboe@kernel.dk>
Wed, 26 Sep 2018 02:15:05 +0000 (20:15 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 26 Sep 2018 02:15:05 +0000 (20:15 -0600)
commit7676a1c25fcdacfe27d84a0f86fe68077b7de79a
tree0a8d27df4d72052095d54097ef4e37fa8f1cf016
parentb6c019832ebb67143da7c4880873572e008563e8
parse: fix negative FIO_OPT_INT too-large check

If we have an option, like nice, that has a minval that is negative,
then we need to ensure we cast properly for the check.

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