fixed compilation problem with gcc

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-01-04 23:38:21 +00:00
parent 0556858147
commit d1dd588c79

View File

@ -858,7 +858,8 @@ void UserConfig::writeStickConfigs(lisp::Writer *writer)
void UserConfig::writeLastInputConfigurations(lisp::Writer *writer)
{
writer->beginList("last-input-configurations");
writer->write("count\t", m_last_input_configuration.size());
std::string count = "count\t";
writer->write(count, (int)m_last_input_configuration.size());
std::map<std::string, InputConfiguration>::iterator i;
int index =0;
for(i =m_last_input_configuration.begin();