(do_pragma): In prev. change, really use U_CHAR *, not char *.
From-SVN: r1998
This commit is contained in:
parent
ed9eaf9bb8
commit
a91ae5fb58
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user