(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] == '+')
|
||||
{
|
||||
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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue