Skip to content

Commit ce7468f

Browse files
authored
Fix build failure in _SynchronizationShims module (#75245)
1 parent 97ef673 commit ce7468f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SwiftShims/swift/shims/_SynchronizationShims.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <unistd.h>
2424

2525
static inline __swift_uint32_t _swift_stdlib_gettid() {
26-
static __thread tid = 0;
26+
static __thread __swift_uint32_t tid = 0;
2727

2828
if (tid == 0) {
2929
tid = syscall(SYS_gettid);

0 commit comments

Comments
 (0)