From c802f1b1dff5fcc8d183ebda925896a2f662e024 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 9 Jul 2024 14:47:42 +0800 Subject: [PATCH] Fix _Generic C11 extension compile warning under clang Signed-off-by: Claudio Cambra --- src/gui/macOS/fileproviderxpc_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/macOS/fileproviderxpc_mac.mm b/src/gui/macOS/fileproviderxpc_mac.mm index fb956030bde5b..9ccade29f6d5c 100644 --- a/src/gui/macOS/fileproviderxpc_mac.mm +++ b/src/gui/macOS/fileproviderxpc_mac.mm @@ -154,7 +154,7 @@ receivedFastEnumerationSet = set; dispatch_semaphore_signal(semaphore); }]; - dispatch_wait(semaphore, DISPATCH_TIME_FOREVER); + dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER); return std::optional>{{receivedFastEnumerationEnabled, receivedFastEnumerationSet}}; }