diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2018-09-04 15:45:19 +0200 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2018-09-04 15:45:19 +0200 |
commit | fbc841625697b8999cfcaeef20b845a23f99c520 (patch) | |
tree | f30b2be090db0045532161ee92a18bd157dd5b2b /test_utils | |
parent | b8c894454fb1d8f8f7afac793d3fcab1c75d8545 (diff) | |
download | libarchive-fbc841625697b8999cfcaeef20b845a23f99c520.tar.gz |
Avoid ctype warnings.
Diffstat (limited to 'test_utils')
-rw-r--r-- | test_utils/test_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utils/test_main.c b/test_utils/test_main.c index 20ce5518..2ff942c8 100644 --- a/test_utils/test_main.c +++ b/test_utils/test_main.c @@ -2166,7 +2166,7 @@ void assertVersion(const char *prog, const char *base) /* Skip arbitrary third-party version numbers. */ while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' || - isalnum(*q))) { + isalnum((unsigned char)*q))) { ++q; --s; } |