Commit 237aa7a2 by DJ Delorie

oops, forgot a const

From-SVN: r37500
parent 3ab9a08f
...@@ -1085,7 +1085,7 @@ read_rtx (infile) ...@@ -1085,7 +1085,7 @@ read_rtx (infile)
{ {
char line_name[20]; char line_name[20];
const char *fn = (read_rtx_filename ? read_rtx_filename : "rtx"); const char *fn = (read_rtx_filename ? read_rtx_filename : "rtx");
char *slash; const char *slash;
for (slash = fn; *slash; slash ++) for (slash = fn; *slash; slash ++)
if (*slash == '/' || *slash == '\\' || *slash == ':') if (*slash == '/' || *slash == '\\' || *slash == ':')
fn = slash + 1; fn = slash + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment