From 0cea1095b19699fc652ff1f373566fc93c72d42a Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 11 Nov 2011 08:33:59 -0800 Subject: [PATCH] change u32 to uint. maybe we want an intptr_t built-in type. --- src/lib/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/task.rs b/src/lib/task.rs index 72a73763427..6f5a403f2db 100644 --- a/src/lib/task.rs +++ b/src/lib/task.rs @@ -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));