oops, forgot a const
authorDJ Delorie <dj@gcc.gnu.org>
Thu, 16 Nov 2000 15:21:50 +0000 (10:21 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Thu, 16 Nov 2000 15:21:50 +0000 (10:21 -0500)
From-SVN: r37500

gcc/rtl.c

index 1ad5b3c..7cc339d 100644 (file)
--- 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;