Skip to content

Commit d47e9f3

Browse files
authored
Fix type mismatch for integer cinterop conversions KT-56583 (#3698)
1 parent afc57fa commit d47e9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal actual fun createDefaultDispatcher(): CoroutineDispatcher = DarwinGloba
2020
private object DarwinGlobalQueueDispatcher : CoroutineDispatcher() {
2121
override fun dispatch(context: CoroutineContext, block: Runnable) {
2222
autoreleasepool {
23-
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT.convert(), 0)) {
23+
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT.convert(), 0u)) {
2424
block.run()
2525
}
2626
}

0 commit comments

Comments
 (0)