(svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard...

This commit is contained in:
rubidium 2009-03-07 23:02:28 +00:00
parent 642dc1ea5e
commit f5c1365471
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ void ChangeWorkingDirectory(const char *exe)
if (app_bundle != NULL) app_bundle[0] = '\0';
#endif /* WITH_COCOA */
char *s = strrchr(exe, PATHSEPCHAR);
char *s = (char*)strrchr(exe, PATHSEPCHAR);
if (s != NULL) {
*s = '\0';
#if defined(__DJGPP__)