From: Claudio Cambra Date: Tue, 9 Jul 2024 06:47:42 +0000 (+0800) Subject: Fix _Generic C11 extension compile warning under clang X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~119^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aa0ecd512d4247e6de33c34a2b7fb93fce1d258c;p=nextcloud-desktop.git Fix _Generic C11 extension compile warning under clang Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/fileproviderxpc_mac.mm b/src/gui/macOS/fileproviderxpc_mac.mm index fb956030b..9ccade29f 100644 --- a/src/gui/macOS/fileproviderxpc_mac.mm +++ b/src/gui/macOS/fileproviderxpc_mac.mm @@ -154,7 +154,7 @@ std::optional> FileProviderXPC::fastEnumerationStateForExt receivedFastEnumerationSet = set; dispatch_semaphore_signal(semaphore); }]; - dispatch_wait(semaphore, DISPATCH_TIME_FOREVER); + dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER); return std::optional>{{receivedFastEnumerationEnabled, receivedFastEnumerationSet}}; }