Fix error if compiling as C++ with gcc-4.4.
SVN revision: 39004
This commit is contained in:
parent
86f1d9b046
commit
38e9aa5ee1
|
@ -6098,7 +6098,7 @@ push_parse_file(cpp_reader * pfile, const char *fname)
|
|||
int len;
|
||||
|
||||
/* Discard all directory prefixes from filename. */
|
||||
if ((q = strrchr(opts->in_fname, '/')) != NULL
|
||||
if ((q = (char *)strrchr(opts->in_fname, '/')) != NULL
|
||||
#ifdef DIR_SEPARATOR
|
||||
&& (q = strrchr(opts->in_fname, DIR_SEPARATOR)) != NULL
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue