diff options
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r-- | src/fileio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp index dbf0bc01b..43d1d4d8b 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -1175,7 +1175,7 @@ void DeterminePaths(const char *exe) /* If we don't have networking, we don't need to make the directory. But * if it exists we keep it, otherwise remove it from the search paths. */ if (!FileExists(_searchpaths[SP_AUTODOWNLOAD_DIR])) { - free((void*)_searchpaths[SP_AUTODOWNLOAD_DIR]); + free(_searchpaths[SP_AUTODOWNLOAD_DIR]); _searchpaths[SP_AUTODOWNLOAD_DIR] = NULL; } #endif /* ENABLE_NETWORK */ |