mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
16 lines
633 B
Plaintext
16 lines
633 B
Plaintext
$NetBSD: patch-cg,v 1.2 2012/01/12 22:59:58 adam Exp $
|
|
|
|
Avoid error when compiling with Clang.
|
|
|
|
--- src/gui/dialogs/qfontdialog_mac.mm.orig 2011-01-12 10:16:56.000000000 +0000
|
|
+++ src/gui/dialogs/qfontdialog_mac.mm
|
|
@@ -510,7 +510,7 @@ void QFontDialogPrivate::setFont(void *d
|
|
|
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
|
if (qstrcmp(fe->name(), "CoreText") == 0) {
|
|
- nsFont = reinterpret_cast<const NSFont *>(static_cast<QCoreTextFontEngineMulti *>(fe)->ctfont);
|
|
+ nsFont = (NSFont *)reinterpret_cast<const NSFont *>(static_cast<QCoreTextFontEngineMulti *>(fe)->ctfont);
|
|
} else
|
|
#endif
|
|
{
|