Fixed: Compilation with GCC

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

View file

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

View file

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