Skip to content

Commit 347f76e

Browse files
SergioGasquezgitbot
authored and
gitbot
committed
fix: attr cast for espidf
1 parent 2b6b61e commit 347f76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/pal/unix/thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl Thread {
5959
assert_eq!(
6060
libc::pthread_attr_setstacksize(
6161
attr.as_mut_ptr(),
62-
cmp::max(stack, min_stack_size(&attr))
62+
cmp::max(stack, min_stack_size(attr.as_ptr()))
6363
),
6464
0
6565
);

0 commit comments

Comments
 (0)