summaryrefslogtreecommitdiff
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r--test/DumpDatabase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 395ff4f23..21a12d294 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -113,7 +113,7 @@ main(int argc, char **argv)
const struct config_param *path = config_get_param(CONF_DB_FILE);
config_param param("database", path->line);
if (path != nullptr)
- param.AddBlockParam("path", path->value, path->line);
+ param.AddBlockParam("path", path->value.c_str(), path->line);
Database *db = plugin->create(param, error);