File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,14 @@ public class DispatchWorkItem {
40
40
internal var _block : _DispatchBlock
41
41
42
42
public init ( qos: DispatchQoS = . unspecified, flags: DispatchWorkItemFlags = [ ] , block: @escaping @convention ( block) ( ) -> ( ) ) {
43
- _block = dispatch_block_create_with_qos_class ( dispatch_block_flags_t ( UInt32 ( flags. rawValue) ) ,
43
+ _block = dispatch_block_create_with_qos_class ( dispatch_block_flags_t ( UInt ( flags. rawValue) ) ,
44
44
qos. qosClass. rawValue. rawValue, Int32 ( qos. relativePriority) , block)
45
45
}
46
46
47
47
// Used by DispatchQueue.synchronously<T> to provide a path through
48
48
// dispatch_block_t, as we know the lifetime of the block in question.
49
49
internal init ( flags: DispatchWorkItemFlags = [ ] , noescapeBlock: ( ) -> ( ) ) {
50
- _block = _swift_dispatch_block_create_noescape ( dispatch_block_flags_t ( UInt32 ( flags. rawValue) ) , noescapeBlock)
50
+ _block = _swift_dispatch_block_create_noescape ( dispatch_block_flags_t ( UInt ( flags. rawValue) ) , noescapeBlock)
51
51
}
52
52
53
53
public func perform( ) {
You can’t perform that action at this time.
0 commit comments