summaryrefslogtreecommitdiffstats
path: root/gnupgparse.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-08-01 14:06:58 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-08-01 14:06:58 +0000
commit8a5b8e66ab6a09ca632d7c581d92116b0be97c1a (patch)
tree44d628c233456b8329f8aa0261d3759a37279e51 /gnupgparse.c
parentf087e4a97e61809549f668311261596689de3b44 (diff)
Signed fixes. Noted by Vincent Lefevre's compiler.
Diffstat (limited to 'gnupgparse.c')
-rw-r--r--gnupgparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnupgparse.c b/gnupgparse.c
index a7263b83..8b7bf4c3 100644
--- a/gnupgparse.c
+++ b/gnupgparse.c
@@ -77,7 +77,7 @@ static void fix_uid (char *uid)
for (s = d = uid; *s;)
{
- if (*s == '\\' && *(s+1) == 'x' && isxdigit (*(s+2)) && isxdigit (*(s+3)))
+ if (*s == '\\' && *(s+1) == 'x' && isxdigit ((unsigned char) *(s+2)) && isxdigit ((unsigned char) *(s+3)))
{
*d++ = hexval (*(s+2)) << 4 | hexval (*(s+3));
s += 4;