Silence build warning on HPUX
authorJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2011 07:27:24 +0000 (09:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2011 07:27:24 +0000 (09:27 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c

diff --git a/parse.c b/parse.c
index f52139f..239e371 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -199,7 +199,7 @@ static unsigned long long get_mult_bytes(const char *str, int len, void *data,
                if (!isdigit((int) *p) &&
                    (((*p != '+') && (*p != '-')) || digit_seen))
                        break;
-               digit_seen |= isdigit(*p);
+               digit_seen |= isdigit((int) *p);
                p++;
        }