summaryrefslogtreecommitdiff
path: root/vcl/quartz/utils.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/quartz/utils.cxx')
-rw-r--r--vcl/quartz/utils.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/utils.cxx b/vcl/quartz/utils.cxx
index ce5f9e4fa77e..cc18eb0d409f 100644
--- a/vcl/quartz/utils.cxx
+++ b/vcl/quartz/utils.cxx
@@ -208,7 +208,7 @@ std::ostream &operator <<(std::ostream& s, CGColorSpaceRef cs)
CFStringRef name = CGColorSpaceCopyName(cs);
if (name != nullptr)
- s << " (" << [(NSString *)name UTF8String] << ")";
+ s << " (" << [static_cast<NSString *>(name) UTF8String] << ")";
#endif
return s;
}