Fix error if compiling as C++ with gcc-4.4.

SVN revision: 39004
This commit is contained in:
Kim Woelders 2009-02-12 17:28:42 +00:00
parent 86f1d9b046
commit 38e9aa5ee1
1 changed files with 1 additions and 1 deletions

View File

@ -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