1
Fork 0

fix: attr cast for espidf

This commit is contained in:
Sergio Gasquez 2025-02-25 16:07:05 +01:00
parent ad27045c31
commit 622b4fac82

View file

@ -59,7 +59,7 @@ impl Thread {
assert_eq!( assert_eq!(
libc::pthread_attr_setstacksize( libc::pthread_attr_setstacksize(
attr.as_mut_ptr(), attr.as_mut_ptr(),
cmp::max(stack, min_stack_size(&attr)) cmp::max(stack, min_stack_size(attr.as_ptr()))
), ),
0 0
); );