change u32 to uint. maybe we want an intptr_t built-in type.
This commit is contained in:
parent
36ab948bfa
commit
0cea1095b1
@ -298,7 +298,7 @@ fn unsafe_spawn_inner(-thunk: fn@(),
|
|||||||
task unsafe {
|
task unsafe {
|
||||||
let id = rustrt::new_task();
|
let id = rustrt::new_task();
|
||||||
|
|
||||||
let raw_thunk: {code: u32, env: u32} = cast(thunk);
|
let raw_thunk: {code: uint, env: uint} = cast(thunk);
|
||||||
|
|
||||||
// set up the task pointer
|
// set up the task pointer
|
||||||
let task_ptr <- rust_task_ptr(rustrt::get_task_pointer(id));
|
let task_ptr <- rust_task_ptr(rustrt::get_task_pointer(id));
|
||||||
|
Loading…
Reference in New Issue
Block a user