]> git.eshelyaron.com Git - emacs.git/commitdiff
(main): Cast isdigit argument to unsigned char.
authorEli Zaretskii <eliz@gnu.org>
Fri, 15 Feb 2002 12:06:20 +0000 (12:06 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 15 Feb 2002 12:06:20 +0000 (12:06 +0000)
lib-src/emacsclient.c

index b63a4d2bf50eebf22de7fd85237bc84431dbf20b..988bfc4fd4d8fbc682554c8a5fea6aa0ef6cbbbc 100644 (file)
@@ -425,7 +425,7 @@ main (argc, argv)
       if (*argv[i] == '+')
        {
          char *p = argv[i] + 1;
-         while (isdigit (*p) || *p == ':') p++;
+         while (isdigit ((unsigned char) *p) || *p == ':') p++;
          if (*p != 0)
            fprintf (out, "%s/", quote_file_name (cwd));
        }