aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigGlobal.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 22:09:25 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 22:20:14 +0100
commit2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7 (patch)
tree1c2bc61d5d53edabf09c8294e1d1d207551eb1cf /src/ConfigGlobal.cxx
parent3cdd01aa1b889698768f2c53d736873f9f558e3b (diff)
downloadmpd-2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7.tar.gz
mpd-2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7.tar.xz
mpd-2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7.zip
ConfigData: use std::string in block_param
Diffstat (limited to '')
-rw-r--r--src/ConfigGlobal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ConfigGlobal.cxx b/src/ConfigGlobal.cxx
index d70a7f5bb..92e0b5410 100644
--- a/src/ConfigGlobal.cxx
+++ b/src/ConfigGlobal.cxx
@@ -79,7 +79,7 @@ config_param_check(gpointer data, G_GNUC_UNUSED gpointer user_data)
for (const auto &i : param->block_params) {
if (!i.used)
g_warning("option '%s' on line %i was not recognized",
- i.name, i.line);
+ i.name.c_str(), i.line);
}
}