parse: don't check for < 0 on an unsigned type
authorJens Axboe <axboe@kernel.dk>
Fri, 15 Dec 2017 16:13:28 +0000 (09:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Dec 2017 16:13:28 +0000 (09:13 -0700)
commit4784476426793575eb58c0fc245176b1f96208ce
tree298309b7a5d1db64294e3f22845fd7ef94a54926
parent3e262e2fc8e73bae1340aef23a78195b5de82387
parse: don't check for < 0 on an unsigned type

We do strict errors on some builds, this breaks them. Remove the
<= 0 check, just check for a value that's too large.

Fixes: c26438ad ("parse: dump option type when using --debug=parse")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c