diff --git a/direct/src/plugin/p3dCert.cxx b/direct/src/plugin/p3dCert.cxx index cfbefc74bd..39646400ee 100644 --- a/direct/src/plugin/p3dCert.cxx +++ b/direct/src/plugin/p3dCert.cxx @@ -414,7 +414,7 @@ layout() { wxFont font = panel->GetFont(); wxFont *bold_font = wxTheFontList->FindOrCreateFont - (font.GetPointSize() * 1.5f, + ((int)(font.GetPointSize() * 1.5), font.GetFamily(), font.GetStyle(), wxFONTWEIGHT_BOLD); if (!header.IsEmpty()) {