From 5d369a2ca7d4511701484ee24f7b19b246f410ee Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 15 Apr 2012 08:32:29 +0200 Subject: Nah, don't obscure the right type with void* --- vcl/ios/source/gdi/salgdi.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/ios') diff --git a/vcl/ios/source/gdi/salgdi.cxx b/vcl/ios/source/gdi/salgdi.cxx index f7f6bcdbcf26..32cc9fbbf89f 100644 --- a/vcl/ios/source/gdi/salgdi.cxx +++ b/vcl/ios/source/gdi/salgdi.cxx @@ -204,7 +204,7 @@ SystemFontData IosSalGraphics::GetSysFontData( int /* nFallbacklevel */ ) const CTFontRef font = CTFontCreateUIFontForLanguage(kCTFontSystemFontType, 0.0, NULL); font = (CTFontRef)CFRetain(font); - aSysFontData.rCTFont = (void*)font; + aSysFontData.rCTFont = font; CTFontRef italic_font = CTFontCreateCopyWithSymbolicTraits( font, 0.0, -- cgit v1.2.3