Eliminated a warning in MSVC about double -> float convertion.

This commit is contained in:
David Capello 2010-07-31 12:15:38 -03:00
parent 3c49d0a1ad
commit 81114a7f39

View File

@ -187,7 +187,7 @@ template<> unsigned long Vaca::convert_to(const String& from)
template<> float Vaca::convert_to(const String& from)
{
return std::wcstod(from.c_str(), NULL);
return static_cast<float>(std::wcstod(from.c_str(), NULL));
}
template<> double Vaca::convert_to(const String& from)