summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-16 15:21:50 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-16 15:21:50 +0000
commitae55cb05aa4d4434d7fb66dad6c345bbcebc37c6 (patch)
tree66854674917ce970ed2af1a088c418d1c5d8d452 /gcc/rtl.c
parent3a25d181ba999da4de7ba8ea475b3ad8ce485f85 (diff)
downloadgcc-ae55cb05aa4d4434d7fb66dad6c345bbcebc37c6.tar.gz
oops, forgot a const
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37500 138bc75d-0d04-0410-961f-82ee72b054a4
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 1ad5b3c4b82..7cc339d4c6a 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;