1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 02:36:16 +02:00

(portable_chars_only): Remove unnecessary `const'

in cast to avoid warning from icc.  Reported by Alexandre Duret-Lutz.
This commit is contained in:
Jim Meyering
2003-02-12 09:20:47 +00:00
parent 4839fcb1c0
commit be6a1bab4f

View File

@@ -1,5 +1,5 @@
/* pathchk -- check whether pathnames are valid or portable
Copyright (C) 1991-2002 Free Software Foundation, Inc.
Copyright (C) 1991-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -232,7 +232,7 @@ portable_chars_only (const char *path)
const char *p;
for (p = path; *p; ++p)
if (portable_chars[(const unsigned char) *p] == 0)
if (portable_chars[(unsigned char) *p] == 0)
{
error (0, 0, _("path `%s' contains nonportable character `%c'"),
path, *p);