Fixed: Compilation with GCC

This commit is contained in:
kervala 2015-03-02 23:27:12 +01:00
parent 2c154dbda8
commit cb575fb8f1
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ namespace NLGUI
fromString((const char*)time, fAnimTime);
TAnimationTime animTime = fAnimTime * CWidgetManager::getInstance()->getSystemOption(CWidgetManager::OptionMulCoefAnim).getValFloat();
double animValue;
fromString(value, animValue);
fromString(value.str(), animValue);
// Depending on the type of the track add the key
switch(_Type)

View file

@ -796,7 +796,7 @@ namespace NLGUI
return false;
}
sint32 size;
fromString(cSize, size);
fromString(cSize.str(), size);
if (size <= 0)
{
// todo hulud interface syntax error