From 7a62f99554c248724c42537363f2665df9748945 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Mar 2008 16:25:20 +0000 Subject: compiling with gcc 4.2.3 verified --- src/filesystem/inifile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filesystem/inifile.cc') diff --git a/src/filesystem/inifile.cc b/src/filesystem/inifile.cc index 8b6e8ad..02dbcf8 100644 --- a/src/filesystem/inifile.cc +++ b/src/filesystem/inifile.cc @@ -100,7 +100,7 @@ bool IniFile::getline() { return false; } -bool IniFile::got_key_string(char * const keylabel, std::string & valuestring) { +bool IniFile::got_key_string(const char * keylabel, std::string & valuestring) { //condebug << "IniFile got_value_string " << keylabel << " " << last_read_was_key << std::endl; if (last_read_was_key && (key_current.compare(keylabel) == 0 )) { valuestring.assign(value_current); -- cgit v1.2.3