Avoid -Wdouble-promotion warnings

This commit is contained in:
Paul Cornett
2020-10-14 11:07:55 -07:00
parent 97655e5b21
commit b5a554b9a6
44 changed files with 208 additions and 201 deletions

View File

@@ -476,7 +476,7 @@ bool wxVariantDoubleData::Write(wxOutputStream& str) const
bool wxVariantDoubleData::Read(wxInputStream& str)
{
wxTextInputStream s(str);
m_value = (float)s.ReadDouble();
m_value = s.ReadDouble();
return true;
}
#endif // wxUSE_STREAMS