Skip to content

Commit 21c1340

Browse files
committed
Fixed pthread_attr_t and pthread_rwlockattr_t for newlib
1 parent e2d90cd commit 21c1340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/newlib/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ s! {
234234
}
235235

236236
pub struct pthread_attr_t { // Unverified
237-
__size: [u64; __SIZEOF_PTHREAD_ATTR_T]
237+
__size: [u8; __SIZEOF_PTHREAD_ATTR_T]
238238
}
239239

240240
pub struct pthread_rwlockattr_t { // Unverified
241-
__size: [u64; __SIZEOF_PTHREAD_RWLOCKATTR_T]
241+
__size: [u8; __SIZEOF_PTHREAD_RWLOCKATTR_T]
242242
}
243243
}
244244

0 commit comments

Comments
 (0)