From be6a1bab4fd4352a559635725ce4bb24dc565d13 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 12 Feb 2003 09:20:47 +0000 Subject: [PATCH] (portable_chars_only): Remove unnecessary `const' in cast to avoid warning from icc. Reported by Alexandre Duret-Lutz. --- src/pathchk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pathchk.c b/src/pathchk.c index e76abe78b..d84b4b620 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -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); -- 2.34.1