summaryrefslogtreecommitdiffstats
path: root/pkcs11-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11-helper.c')
-rw-r--r--pkcs11-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkcs11-helper.c b/pkcs11-helper.c
index 99a67e2..fd8f7f1 100644
--- a/pkcs11-helper.c
+++ b/pkcs11-helper.c
@@ -6506,7 +6506,7 @@ _pkcs11h_locate_hexToBinary (
*p_target_size = 0;
while (*p != '\0' && *p_target_size < target_max_size) {
- if (isxdigit (*p)) {
+ if (isxdigit ((unsigned char)*p)) {
buf[i%2] = *p;
if ((i%2) == 1) {