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

From-SVN: r1998
This commit is contained in:
James Van Artsdalen 1992-08-31 00:24:10 +00:00
parent ed9eaf9bb8
commit a91ae5fb58

View File

@ -5898,7 +5898,7 @@ do_pragma (buf, limit)
for (ptr = all_include_files; ptr; ptr = ptr->next) {
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))
warning ("`#pragma implementation' for `%s' appears after file is included",
fname);