File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class DispatchWorkItem {
4141
4242 public init ( qos: DispatchQoS = . unspecified, flags: DispatchWorkItemFlags = [ ] , block: @escaping @convention ( block) ( ) -> ( ) ) {
4343#if os(Windows) && (arch(arm64) || arch(x86_64))
44- let flags = dispatch_block_flags_t ( UInt32 ( flags. rawValue) )
44+ let flags = dispatch_block_flags_t ( rawValue : UInt32 ( flags. rawValue) )
4545#else
4646 let flags : dispatch_block_flags_t = numericCast ( flags. rawValue)
4747#endif
@@ -53,7 +53,7 @@ public class DispatchWorkItem {
5353 // dispatch_block_t, as we know the lifetime of the block in question.
5454 internal init ( flags: DispatchWorkItemFlags = [ ] , noescapeBlock: ( ) -> ( ) ) {
5555#if os(Windows) && (arch(arm64) || arch(x86_64))
56- let flags = dispatch_block_flags_t ( UInt32 ( flags. rawValue) )
56+ let flags = dispatch_block_flags_t ( rawValue : UInt32 ( flags. rawValue) )
5757#else
5858 let flags : dispatch_block_flags_t = numericCast ( flags. rawValue)
5959#endif
You can’t perform that action at this time.
0 commit comments