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

@@ -3114,7 +3114,7 @@ wxD2DFontData::wxD2DFontData(wxGraphicsRenderer* renderer, const wxFont& font, c
FLOAT fontSize = !dpi.y
? FLOAT(font.GetPixelSize().GetHeight())
: FLOAT(font.GetFractionalPointSize()) * dpi.y / 72.0f;
: FLOAT(font.GetFractionalPointSize() * dpi.y / 72);
hr = wxDWriteFactory()->CreateTextFormat(
name,