Another compilation fix

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

View File

@ -242,13 +242,18 @@ void TimeUserConfigParam::findYourDataInAChildOf(const XMLNode* node)
//std::cout << "Couldn't find int parameter " << paramName <<std::endl;
return;
}
child->get( "value", &m_value );
int64_t tmp;
child->get( "value", &tmp );
m_value = tmp;
} // findYourDataInAChildOf
// ----------------------------------------------------------------------------
void TimeUserConfigParam::findYourDataInAnAttributeOf(const XMLNode* node)
{
node->get( m_param_name, &m_value );
int64_t tmp;
node->get( m_param_name, &tmp );
m_value = tmp;
} // findYourDataInAnAttributeOf
// ============================================================================