summaryrefslogtreecommitdiffstats
path: root/engines/e_loader_attic.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/e_loader_attic.c')
-rw-r--r--engines/e_loader_attic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_loader_attic.c b/engines/e_loader_attic.c
index 15d7affb7d..f87bd921d0 100644
--- a/engines/e_loader_attic.c
+++ b/engines/e_loader_attic.c
@@ -1470,9 +1470,9 @@ static int file_name_check(OSSL_STORE_LOADER_CTX *ctx, const char *name)
* Last, check that the rest of the extension is a decimal number, at
* least one digit long.
*/
- if (!isdigit(*p))
+ if (!isdigit((unsigned char)*p))
return 0;
- while (isdigit(*p))
+ while (isdigit((unsigned char)*p))
p++;
#ifdef __VMS