aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-09 10:18:30 +0000
committerGerd Moellmann2001-10-09 10:18:30 +0000
commitcb1cdedd9797a19668a7bd0b184ca6ce822dba1e (patch)
treedc8d843a6c8de611c1b992893eeb8b54df033370 /lib-src
parentc3d7eab2ba129ce6a60851aa37ad64f0133b8ad2 (diff)
downloademacs-cb1cdedd9797a19668a7bd0b184ca6ce822dba1e.tar.gz
emacs-cb1cdedd9797a19668a7bd0b184ca6ce822dba1e.zip
(main): Cast isdigit() argument to unsigned char.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 1 insertions, 1 deletions
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)
425 if (*argv[i] == '+') 425 if (*argv[i] == '+')
426 { 426 {
427 char *p = argv[i] + 1; 427 char *p = argv[i] + 1;
428 while (isdigit (*p) || *p == ':') p++; 428 while (isdigit ((unsigned char) *p) || *p == ':') p++;
429 if (*p != 0) 429 if (*p != 0)
430 fprintf (out, "%s/", quote_file_name (cwd)); 430 fprintf (out, "%s/", quote_file_name (cwd));
431 } 431 }