Skip to content

Commit cc85197

Browse files
authored
Merge pull request swiftlang#19939 from compnerd/dispatch-shims-llp64
shims: adjust dispatch shim for LLP64
2 parents ab2f4ce + 1e89bf0 commit cc85197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/SwiftShims/DispatchOverlayShims.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ static inline void _swift_dispatch_after(
193193

194194
static inline void _swift_dispatch_apply_current(
195195
size_t iterations,
196-
void SWIFT_DISPATCH_NOESCAPE (^block)(long)) {
196+
void SWIFT_DISPATCH_NOESCAPE (^block)(intptr_t)) {
197197
dispatch_apply(iterations, (dispatch_queue_t _Nonnull)0, ^(size_t i){
198-
block((long)i);
198+
block((intptr_t)i);
199199
});
200200
}
201201

0 commit comments

Comments
 (0)