Remove unnecessary intermediate pointer cast in Thread::new.
This commit is contained in:
parent
ec8275c364
commit
1c1bd957d5
@ -53,7 +53,7 @@ pub unsafe fn new_with_coreid(
|
||||
let ret = abi::spawn(
|
||||
&mut tid as *mut Tid,
|
||||
thread_start,
|
||||
p as *mut u8 as usize,
|
||||
p as usize,
|
||||
Priority::into(NORMAL_PRIO),
|
||||
core_id,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user