From 5be3c356e4360d0f8af7d4ec6e9baa7724e77d0a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 14 Aug 2007 08:51:44 +0000 Subject: [PATCH] Ambiguity correction git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 7e2443320f..6e8d237081 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -440,7 +440,7 @@ int wxNativeFontInfo::GetPointSize() const // for printing! const int ppInch = ::GetDeviceCaps(ScreenHDC(), LOGPIXELSY); - return (int) (((72.0*(double)abs(lf.lfHeight)) / (double) ppInch) + 0.5); + return (int) (((72.0*(double)abs((int) lf.lfHeight)) / (double) ppInch) + 0.5); } wxSize wxNativeFontInfo::GetPixelSize() const