diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-06-05 01:17:56 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-11-19 13:26:44 +0100 |
commit | 7192ee7406a8dcd7b7e6ba39c5c15d8ccec6a74c (patch) | |
tree | 44437a1ab7c5df87c2b5cb8397efdc011713ccef /extensions | |
parent | bfcc312375cf3a5f0b4f67a80a417ec3625f2ca3 (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.m | 2 | ||||
-rw-r--r-- | extensions/source/macosx/spotlight/OOoMetaDataParser.m | 2 |
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]; |