Skip to content

Commit

Permalink
fix: attr cast for espidf
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 25, 2025
1 parent ad27045 commit 622b4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl Thread {
assert_eq!(
libc::pthread_attr_setstacksize(
attr.as_mut_ptr(),
cmp::max(stack, min_stack_size(&attr))
cmp::max(stack, min_stack_size(attr.as_ptr()))
),
0
);
Expand Down

0 comments on commit 622b4fa

Please sign in to comment.