summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-06-05 01:17:56 +0300
committerTor Lillqvist <tml@collabora.com>2019-06-05 07:44:56 +0300
commit4d3628ca769ce07c93e8c4629075eeb7c8dc317e (patch)
tree0870fbc27fd7201d474d16af1e7ee99c754541bc /extensions
parent4378eae8aa5f29d02ac02000ba0d3a769b27c18e (diff)
The macOS SDK 10.15 has a tighter declaration of objc_msgSend()
Change-Id: I51734b92965a9fa1f06aa18017d39b4b0d532456
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/macosx/spotlight/OOoContentDataParser.m2
-rw-r--r--extensions/source/macosx/spotlight/OOoMetaDataParser.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/macosx/spotlight/OOoContentDataParser.m b/extensions/source/macosx/spotlight/OOoContentDataParser.m
index 89d92a8c126a..d3ecf16ffaab 100644
--- a/extensions/source/macosx/spotlight/OOoContentDataParser.m
+++ b/extensions/source/macosx/spotlight/OOoContentDataParser.m
@@ -52,7 +52,7 @@
// So instead of this:
// [parser setDelegate:self];
// do this:
- objc_msgSend(parser, @selector(setDelegate:), self);
+ ((id (*)(id, SEL, ...))objc_msgSend)(parser, @selector(setDelegate:), self);
[parser setShouldResolveExternalEntities:NO];
[parser parse];
diff --git a/extensions/source/macosx/spotlight/OOoMetaDataParser.m b/extensions/source/macosx/spotlight/OOoMetaDataParser.m
index 4d2b95d72fff..2b4dac82c555 100644
--- a/extensions/source/macosx/spotlight/OOoMetaDataParser.m
+++ b/extensions/source/macosx/spotlight/OOoMetaDataParser.m
@@ -95,7 +95,7 @@ static NSDictionary *metaXML2MDIKeys;
// So instead of this:
// [parser setDelegate:self];
// do this:
- objc_msgSend(parser, @selector(setDelegate:), self);
+ ((id (*)(id, SEL, ...))objc_msgSend)(parser, @selector(setDelegate:), self);
[parser setShouldResolveExternalEntities:NO];
[parser parse];