Skip to content
Browse files

clang compat.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
  • Loading branch information...
1 parent 5ecc354 commit 3e064acf012b8a8537ccb8b1a36915f928f24ab3 @csomor csomor committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/osx/carbon/utilscocoa.mm
View
2 src/osx/carbon/utilscocoa.mm
@@ -193,7 +193,7 @@ void wxMacCocoaAutorelease( void* obj )
}
static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; }
-static const NSAffineTransformStruct kSlantNSTransformStruct = { 1, 0, tan(DegToRad(11)), 1, 0, 0 };
+static const NSAffineTransformStruct kSlantNSTransformStruct = { 1, 0, static_cast<CGFloat>(tan(DegToRad(11))), 1, 0, 0 };
WX_NSFont wxFont::OSXCreateNSFont(const wxNativeFontInfo* info)
{

0 comments on commit 3e064ac

Please sign in to comment.
Something went wrong with that request. Please try again.