mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 22:41:06 -08:00
(main): Cast isdigit() argument to unsigned char.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
This commit is contained in:
parent
c3d7eab2ba
commit
cb1cdedd97
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ main (argc, argv)
|
||||||
if (*argv[i] == '+')
|
if (*argv[i] == '+')
|
||||||
{
|
{
|
||||||
char *p = argv[i] + 1;
|
char *p = argv[i] + 1;
|
||||||
while (isdigit (*p) || *p == ':') p++;
|
while (isdigit ((unsigned char) *p) || *p == ':') p++;
|
||||||
if (*p != 0)
|
if (*p != 0)
|
||||||
fprintf (out, "%s/", quote_file_name (cwd));
|
fprintf (out, "%s/", quote_file_name (cwd));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue