From 37b75fd7456d4cc8a199db959cff3df8b67834d9 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 18 Sep 2009 05:12:11 +0000 Subject: [PATCH] compiler warning --- direct/src/plugin/p3dCert.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {