aboutsummaryrefslogtreecommitdiff
path: root/gcc/cccp.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>2000-01-04 23:55:02 -0700
committerJeff Law <law@gcc.gnu.org>2000-01-04 23:55:02 -0700
commitdd1bd863187095f63709320f6a30d97fe0ee40ab (patch)
tree3b3c08aae28d90b998b0682832af59be16e48f95 /gcc/cccp.c
parente9b8009ef8d9615d74d1587b9bb06766a42b6aa3 (diff)
downloadgcc-dd1bd863187095f63709320f6a30d97fe0ee40ab.zip
gcc-dd1bd863187095f63709320f6a30d97fe0ee40ab.tar.gz
gcc-dd1bd863187095f63709320f6a30d97fe0ee40ab.tar.bz2
cse.c (cse_insn): Missing cast added.
* cse.c (cse_insn): Missing cast added. * loop.c (loop_reg_used_before_p): Ditto. * gcse.c (Pre_gcse, hoist_code): Ditto. * varasm.c (decode_rtx_const): Ditto. * except.c (push_ehqueue): Ditto. * cccp.c (index0): Ditto. * toplev.c (main): Useless `&' removed before function name. From-SVN: r31229
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r--gcc/cccp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 01f93d6..e132061 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -1,5 +1,5 @@
/* C Compatible Compiler Preprocessor (CCCP)
- Copyright (C) 1986, 87, 89, 92-98, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 87, 89, 92-99, 2000 Free Software Foundation, Inc.
Written by Paul Rubin, June 1986
Adapted to ANSI C, Richard Stallman, Jan 1987
@@ -2274,7 +2274,7 @@ index0 (s, c, n)
for (;;) {
const char *q = index (p, c);
if (q)
- return q;
+ return (const U_CHAR *) q;
else {
size_t l = strlen (p);
if (l == n)