change u32 to uint. maybe we want an intptr_t built-in type.

This commit is contained in:
Niko Matsakis 2011-11-11 08:33:59 -08:00
parent 36ab948bfa
commit 0cea1095b1

View File

@ -298,7 +298,7 @@ fn unsafe_spawn_inner(-thunk: fn@(),
task unsafe {
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
let task_ptr <- rust_task_ptr(rustrt::get_task_pointer(id));