aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-07-31 07:01:23 -0600
committerJeff Law <law@gcc.gnu.org>2000-07-31 07:01:23 -0600
commit6fffb55cd75516538000c88e83cd72a42c7a8e60 (patch)
tree2083165603d041e084746e792d5e2d77ed8a7ec5 /gcc/c-typeck.c
parentc30d43bf628c8aed634aa9ea291c51bf0afa4540 (diff)
downloadgcc-6fffb55cd75516538000c88e83cd72a42c7a8e60.zip
gcc-6fffb55cd75516538000c88e83cd72a42c7a8e60.tar.gz
gcc-6fffb55cd75516538000c88e83cd72a42c7a8e60.tar.bz2
c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for discarding qualifiers into a plain warning.
* c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for discarding qualifiers into a plain warning. From-SVN: r35374
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r--gcc/c-typeck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index a8fa6b5..17cdedd 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -3765,7 +3765,7 @@ build_c_cast (type, expr)
if (warn)
/* There are qualifiers present in IN_OTYPE that are not
present in IN_TYPE. */
- pedwarn ("cast discards qualifiers from pointer target type");
+ warning ("cast discards qualifiers from pointer target type");
}
/* Warn about possible alignment problems. */