From 4cb744641f27ce667aa6153ecf31467d7e6a6677 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Feb 2002 12:06:20 +0000 Subject: [PATCH] (main): Cast isdigit argument to unsigned char. --- lib-src/emacsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index b63a4d2bf50..988bfc4fd4d 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -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)); } -- 2.39.2