]> granicus.if.org Git - neomutt/commitdiff
Signed fixes. Noted by Vincent Lefevre's compiler.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 1 Aug 2001 14:06:58 +0000 (14:06 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 1 Aug 2001 14:06:58 +0000 (14:06 +0000)
gnupgparse.c
pgpkey.c

index a7263b83927a97db5e1abd40b27bf0ba7d735173..8b7bf4c3011f9987d81b9ac2ae6d3172012ef595 100644 (file)
@@ -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;
index 24d66d6f3fb8c08cc53626840dcfea19299b8853..ab405ee7bbeb885ecb492900bc0accf69b67441a 100644 (file)
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -137,7 +137,7 @@ static const char *pgp_entry_fmt (char *dest,
   key   = uid->parent;
   pkey  = pgp_principal_key (key);
 
-  if (isupper (op))
+  if (isupper ((unsigned char) op))
     key = pkey;
 
   kflags = key->flags | (pkey->flags & KEYFLAG_RESTRICTIONS)