summaryrefslogtreecommitdiffstats
path: root/apps/rehash.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-21 07:36:23 +1000
committerPauli <paul.dale@oracle.com>2017-08-22 07:35:08 +1000
commit00dfbaad88a69ed8294d6039bf5f7d722f72bf39 (patch)
tree55eed0684ae00018ea84a389530563fea46d4b7e /apps/rehash.c
parent0d68367a1279a369146661f4857816b2044116b4 (diff)
Fix ctype arguments.
Cast arguments to the various ctype functions to unsigned char to match their documentation. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4203)
Diffstat (limited to 'apps/rehash.c')
-rw-r--r--apps/rehash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rehash.c b/apps/rehash.c
index ad7108aad9..8bb9a14ef6 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -300,7 +300,7 @@ static int massage_filename(char *name)
if (q != NULL) {
for (q++; *q != '\0'; q++) {
- if (!isdigit(*q))
+ if (!isdigit((unsigned char)*q))
return 1;
}
}