summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index ec5f1fe54..7b033a64b 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1297,7 +1297,7 @@ void ServerConfig::StartDownloads()
/* For now, error it */
int MOD_RESULT = 0;
- FOREACH_RESULT(I_OnDownloadFile, OnDownloadFile(file, reinterpret_cast<std::istringstream*>(x->second)));
+ FOREACH_RESULT(I_OnDownloadFile, OnDownloadFile(file, x->second));
if (MOD_RESULT == 0)
{
/* No module claimed this file */