Commit cb1cdedd authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(main): Cast isdigit() argument to unsigned char.

From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
parent c3d7eab2
......@@ -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));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment