summaryrefslogtreecommitdiffstats
path: root/src/cli/report.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/report.cpp')
-rw-r--r--src/cli/report.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/report.cpp b/src/cli/report.cpp
index 9ee37576..4c38e852 100644
--- a/src/cli/report.cpp
+++ b/src/cli/report.cpp
@@ -505,13 +505,13 @@ static GHashTable *get_reporter_plugin_settings(const vector_string_t& reporters
for (vector_string_t::const_iterator it = reporters.begin(); it != reporters.end(); ++it)
{
- map_string_t *single_plugin_settings = new map_string_t;
+ map_string_t *single_plugin_settings = new map_string_t;
*single_plugin_settings = call_GetPluginSettings(it->c_str());
// Copy the received settings as defaults.
// Plugins won't work without it, if some value is missing
// they use their default values for all fields.
- g_hash_table_replace(settings, xstrdup(it->c_str()), (void*)single_plugin_settings);
+ g_hash_table_replace(settings, xstrdup(it->c_str()), single_plugin_settings);
}
/* Second, load user-specific settings, which override