Fix build issue

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-11-08 02:00:33 +00:00
parent b2fe74e0c2
commit cede3074bf

View File

@@ -308,7 +308,7 @@ int XMLNode::get(const std::string &attribute, int64_t *value) const
std::string s;
if(!get(attribute, &s)) return 0;
if (!StringUtils::parseString<Time::TimeType>(s, value))
if (!StringUtils::parseString<int64_t>(s, value))
{
fprintf(stderr, "[XMLNode] WARNING: Expected int but found '%s' for attribute '%s' of node '%s' in file %s\n",
s.c_str(), attribute.c_str(), m_name.c_str(), m_file_name.c_str());