Skip to content

Commit 3c821de

Browse files
authored
Add static_cast<Job *>()
1 parent 4171522 commit 3c821de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Task.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ static AsyncTaskAndContext swift_task_create_commonImpl(
643643
swift_task_enqueue(task, executor);
644644
}
645645

646-
_swift_tsan_release(task);
646+
_swift_tsan_release(static_cast<Job *>(task));
647647

648648
return {task, initialContext};
649649
}

0 commit comments

Comments
 (0)