Commit a91ae5fb by James Van Artsdalen

(do_pragma): In prev. change, really use U_CHAR *, not char *.

From-SVN: r1998
parent ed9eaf9b
...@@ -5898,7 +5898,7 @@ do_pragma (buf, limit) ...@@ -5898,7 +5898,7 @@ do_pragma (buf, limit)
for (ptr = all_include_files; ptr; ptr = ptr->next) { for (ptr = all_include_files; ptr; ptr = ptr->next) {
inc_fname = (U_CHAR *) rindex (ptr->fname, '/'); inc_fname = (U_CHAR *) rindex (ptr->fname, '/');
inc_fname = inc_fname ? inc_fname + 1 : ptr->fname; inc_fname = inc_fname ? inc_fname + 1 : (U_CHAR *) ptr->fname;
if (inc_fname && !strcmp (inc_fname, fname)) if (inc_fname && !strcmp (inc_fname, fname))
warning ("`#pragma implementation' for `%s' appears after file is included", warning ("`#pragma implementation' for `%s' appears after file is included",
fname); fname);
......
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