changeset 39723:42510bd54993

(main): Cast isdigit() argument to unsigned char. From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 09 Oct 2001 10:18:30 +0000
parents a94d9387d8cd
children 6d912cac53cf
files lib-src/emacsclient.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Tue Oct 09 10:16:26 2001 +0000
+++ b/lib-src/emacsclient.c	Tue Oct 09 10:18:30 2001 +0000
@@ -425,7 +425,7 @@
       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));
 	}