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 /fpicker | |
parent | bfcc312375cf3a5f0b4f67a80a417ec3625f2ca3 (diff) |
The macOS SDK 10.15 has a tighter declaration of objc_msgSend()
Change-Id: I51734b92965a9fa1f06aa18017d39b4b0d532456
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index c46cd9cb8739..71a2940dec9e 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -162,7 +162,7 @@ sal_Int16 SAL_CALL SalAquaFilePicker::execute() // So instead of: // [m_pDialog setDelegate:m_pDelegate]; // do: - objc_msgSend(m_pDialog, @selector(setDelegate:), m_pDelegate); + ((id (*)(id, SEL, ...))objc_msgSend)(m_pDialog, @selector(setDelegate:), m_pDelegate); int nStatus = runandwaitforresult(); |