aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@gcc.gnu.org>2000-11-16 10:21:50 -0500
committerDJ Delorie <dj@gcc.gnu.org>2000-11-16 10:21:50 -0500
commit237aa7a2f3c1efeac5bc095f44232759b4f67ea0 (patch)
tree66854674917ce970ed2af1a088c418d1c5d8d452 /gcc/rtl.c
parent3ab9a08fcc16beba8db6c20da2c5700fd3677a22 (diff)
downloadgcc-237aa7a2f3c1efeac5bc095f44232759b4f67ea0.zip
gcc-237aa7a2f3c1efeac5bc095f44232759b4f67ea0.tar.gz
gcc-237aa7a2f3c1efeac5bc095f44232759b4f67ea0.tar.bz2
oops, forgot a const
From-SVN: r37500
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 1ad5b3c..7cc339d 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -1085,7 +1085,7 @@ read_rtx (infile)
{
char line_name[20];
const char *fn = (read_rtx_filename ? read_rtx_filename : "rtx");
- char *slash;
+ const char *slash;
for (slash = fn; *slash; slash ++)
if (*slash == '/' || *slash == '\\' || *slash == ':')
fn = slash + 1;