summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r--src/fileio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index ff165d6f6..154bd6c9e 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -862,7 +862,7 @@ void DetermineBasePaths(const char *exe)
#endif
/* Change the working directory to that one of the executable */
- ChangeWorkingDirectory((char*)exe);
+ ChangeWorkingDirectory(exe);
if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
AppendPathSeparator(tmp, MAX_PATH);
_searchpaths[SP_BINARY_DIR] = strdup(tmp);